Build specified dataset. This function completes three steps, which can be executed separately if desired:
dataset_configure
, dataset_process
, dataset_update_taxonomy
dataset_build(
filename_metadata,
filename_data_raw,
definitions,
unit_conversion_functions,
schema,
resource_metadata,
taxon_list,
filter_missing_values = TRUE
)
Metadata yaml file for a given study
Raw data.csv
file for any given study
Definitions read in from the traits.yml
unit_conversion.csv
file read in from the config folder
Schema for traits.build
metadata for the compilation
Taxon list
Default filters missing values from the excluded data table; change to false to see the rows with missing values
List, AusTraits database object
if (FALSE) {
dataset_build(
"data/Falster_2003/data.csv",
"data/Falster_2003/metadata.yml",
read_yaml("config/traits.yml"),
get_unit_conversions("config/unit_conversions.csv"),
get_schema(),
get_schema("config/metadata.yml", "metadata"),
read_csv_char("config/taxon_list.csv")
)
}