R/utils.R
util_schema_add_traits_table_fields.RdAdds the columns returned by util_additional_traits_table_fields() after
the schema's own columns of the traits and excluded_data tables, and as
fields allowed in the dataset block and on the traits entries of a
dataset's metadata.yml, each with its description. Everything that reads
these lists from the schema – the columns the build keeps, the fields
dataset_test() allows, and the schema exported with the database – then
includes them. Adding the same columns again changes nothing.
util_schema_add_traits_table_fields(schema, fields)Schema for traits.build, as returned by get_schema()
Named character vector of descriptions, named by column, as
returned by util_additional_traits_table_fields()
schema, with the columns added