Run tests to ensure that specified dataset_id has the correct setup.
dataset_test_worker(
test_dataset_ids,
path_config = "config",
path_data = "data",
schema = get_schema(),
definitions = get_schema(file.path(path_config, "traits.yml"), I("traits")),
unit_conversions = get_unit_conversions(file.path(path_config, "unit_conversions.csv")),
resource_metadata = get_schema(file.path(path_config, "metadata.yml"), "metadata"),
taxon_list = read_csv_char(file.path(path_config, "taxon_list.csv"))
)Vector of dataset_id for sources to be tested
Path to folder containing configuration files
Path to folder containing data files
Data schema
Trait defininitons
Unit conversions, as returned by get_unit_conversions()
Database metadata (metadata.yml in the config folder)
Taxon list (taxon_list.csv in the config folder)