dataset_process
is used to load individual studies using the config file generated
from dataset_configure()
. dataset_configure
and dataset_process
are applied to every
study in the remake.yml
file.
dataset_process(
filename_data_raw,
config_for_dataset,
schema,
resource_metadata,
unit_conversion_functions,
filter_missing_values = TRUE
)
Raw data.csv
file for any given study
Config settings generated from dataset_configure()
Schema for traits.build
Metadata about the traits compilation read in from the config folder
unit_conversion.csv
file read in from the config folder
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_process("data/Falster_2003/data.csv", dataset_configure("data/Falster_2003/metadata.yml",
read_yaml("config/traits.yml")),
get_schema(),
get_schema("config/metadata.yml", "metadata"),
get_unit_conversions("config/unit_conversions.csv"))
}