dataset_id import database cross-referencing identifer data from a dataframeR/setup.R
metadata_add_identifiers.RdThis functions asks users which columns in the dataframe they would like to keep and records this appropriately in the metadata. The input data is assumed to be in wide format. The output may require additional manual editing if the user selects a non-standard identifier type.
metadata_add_identifiers(dataset_id, overwrite = FALSE, user_responses = NULL)Identifier for a particular study in the database
Overwrite existing information
Named list containing simulated user input, so the
function can be driven without an interactive prompt. Expects var_in, a
vector of column names, and identifier_type, one type per column.
Invisibly, the updated metadata list. Called for the side effect of
writing metadata.yml for dataset_id.