Creates the config object which gets passed onto dataset_process
. The config list contains
the subset of definitions and unit conversions for those traits for a each study.
dataset_configure
is used in the remake::make
process to configure individual studies mapping the
individual traits found in that study along with any relevant unit conversions
and definitions. dataset_configure
and dataset_process
are applied to every study
in the remake.yml
file.
dataset_configure(filename_metadata, definitions)
Metadata yaml file for a given study
Definitions read in from the traits.yml
List with dataset_id
, metadata
, definitions
and unit_conversion_functions
if (FALSE) {
dataset_configure("data/Falster_2003/metadata.yml", read_yaml("config/traits.yml"))
}