Format context data read in from the `metadata.yml` file. Converts from list to tibble.

process_format_contexts(my_list, dataset_id, traits)

Arguments

my_list

List of input information

dataset_id

Identifier for a particular study in the AusTraits database

traits

Table of trait data (for this function, just the data.csv file with custom_R_code applied)

Value

Tibble with context details if available

Examples

if (FALSE) {
process_format_contexts(read_metadata("data/Apgaua_2017/metadata.yml")$context, dataset_id, traits)
}