Json metadata file
json_metadata.Rd
Example metadata for a health dataset, to demo the function mapMetadata.R
This data was created with these five steps:
Go to https://modelcatalogue.cs.ox.ac.uk/hdruk_live/#/catalogue/dataModel/16920b16-e24c-49f9-b4df-3dc85779822b/dataClasses
Download json metadata file by selecting the 'Export as JSON' option on the download button
install.packages("rjson")
json_metadata <- rjson::fromJSON(file = 'browseMetadata/inst/inputs/national_community_child_health_database_(ncchd)_20240405T130125.json')
usethis::use_data(json_metadata)
Usage
data(json_metadata)