Existing substitutions are preserved: a new row updates the existing entry for the same trait_name/find pair (with a message), and everything else already in metadata$substitutions is left alone – mirroring metadata_add_taxonomic_changes_list().

metadata_add_substitutions_list(dataset_id, substitutions)

Arguments

dataset_id

Identifier for a particular study in the database

substitutions

Dataframe of trait value substitutions

Value

metadata.yml file with multiple trait value substitutions added