Generates metadata object for a list of charts. makeMeta()
looks for metadata in 3 locations for each chart
object:
Domain-level metadata saved as meta_chart$name in the chart$package namespace
Chart-specific metadata saved as meta_chart$domain in the chart$package namespace
Chart-specific metadata saved directly to the chart object as chart$meta After checking all charts, all metadata files are stacked in to a single dataframe and returned. If duplicate metadata rows (domain + text_key) are found, an error is thrown.
makeMeta(charts)
list of safetyGraphics chart objects for which to create metadata
tibble of metadata with the following columns:
Data domain
Text key indicating the setting name. '--'
delimiter indicates a field level data mapping
Key for the column mapping
Key for the field mapping (if any)
type of mapping - "field" or "column"
Label
Description
Mapping supports multiple columns/fields
Default values for the ADaM data standard
Default values for the SDTM data standard