compile

fun compile(definition: DatasetDefinition, sources: Map<String, SourceState?>, context: String, name: String, version: Int, database: String = DEFAULT_DATABASE, title: String? = null, approvedOnly: Boolean = false): DatasetCompilation

version of the dataset name of context from definition, checked against the catalog's sources as they are now (DatasetBinder), its view in database; with approvedOnly, only of sources an approver approved.