Skip to contents

Example metadata for a health dataset, to demo the function mapMetadata.R

This data was created with these five steps:

  1. Go to https://modelcatalogue.cs.ox.ac.uk/hdruk_live/#/catalogue/dataModel/16920b16-e24c-49f9-b4df-3dc85779822b/dataClasses

  2. Download json metadata file by selecting the 'Export as JSON' option on the download button

  3. install.packages("rjson")

  4. json_metadata <- rjson::fromJSON(file = 'browseMetadata/inst/inputs/national_community_child_health_database_(ncchd)_20240405T130125.json')

  5. usethis::use_data(json_metadata)

Usage

data(json_metadata)

Format

Nested lists

Source

https://modelcatalogue.cs.ox.ac.uk/hdruk_live/#/catalogue/dataModel/16920b16-e24c-49f9-b4df-3dc85779822b/dataClasses