Flag any unrecognised traits, as defined in the `traits.yml` file.

process_flag_unsupported_traits(data, definitions)

Arguments

data

Tibble or dataframe containing the study data

definitions

Definitions read in from the `traits.yml` file in the config folder

Value

Tibble with unrecognised traits flagged in the "error" column