Get a list of required settings for a given chart
getRequiredSettings(charts = NULL,
metadata = safetyGraphics::settingsMetadata)
The chart for which required settings should be returned ("eDish" only for now) . Default: NULL
(uses all available charts).
The metadata file to be used (primarily used for testing)
List of lists specifying the position of matching named elements in the format list("filters",2,"value_col")
, which would correspond to settings[["filters"]][[2]][["value_col"]]
.
# NOT RUN {
safetyGraphics:::getRequiredSettings(charts=c("edish","safetyHistogram"))
# }
Run the code above in your browser using DataLab