This function asks users which traits they would like to keep, and adds a template for those traits in the metadata. This template must then be finished manually.

metadata_add_traits(dataset_id, user_responses = NULL)

Arguments

dataset_id

Identifier for a particular study in the database

user_responses

Named list containing simulated user input for manual selection of variables, mainly for testing purposes

Details

Can also be used to add a trait to an existing metadata file.