Format context data read in from the metadata.yml file. Converts from list to tibble.
process_format_contexts(my_list, dataset_id, traits, metadata_traits = NULL)List of input information
Identifier for a particular study in the AusTraits database
Table of trait data (for this function, just the data.csv file with custom_R_code applied)
The traits section of metadata.yml, as a list. Supplies the
context values for a context whose var_in names a field set literally on the trait
entries rather than a column of data.csv.
Tibble with context details if available
if (FALSE) { # \dontrun{
process_format_contexts(read_metadata("data/Apgaua_2017/metadata.yml")$context, dataset_id, traits)
} # }