Since our intent is to add many new charts across new data domains, I'm thinking it makes more sense to store the default metadata in a more modular way in safetyCharts. Process might look like this:
- Delete
safetyGraphics::meta
- Save domain-level metadata (
aes_meta, dm_meta etc) in the /data folder in safetyCharts. Keep the same columns as safetyGraphics::meta
- Create a new
makeMeta.R function in safetyGraphics. The function will identify the metadata domains specified in the current charts and stack them up for use in meta parameter in safetyGraphicsApp()