R/setup.R
metadata_add_substitution.Rd
`metadata_add_substitution` is used to align the categorical trait values used by a contributor to the categorical values supported by the database. These values are defined in the `traits.yml` file.
metadata_add_substitution(dataset_id, trait_name, find, replace)
Identifier for a particular study in the database
The database defined name for a particular trait
Trait value in the original data.csv file
Trait value supported by database
`metadata.yml` file with a substitution added