Includes place-holders for major sections of the metadata.

metadata_create_template(
  dataset_id,
  path = file.path("data", dataset_id),
  skip_manual = FALSE,
  user_responses = NULL
)

Arguments

dataset_id

Identifier for a particular study in the database

path

Location of file where output is saved

skip_manual

Allows skipping of manual selection of variables, default = FALSE

user_responses

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

Value

A yaml file template for metadata