reformat_codelists | R Documentation |
Converts a json file of codelist names and URLs into an HTML table
reformat_codelists(import_json_from = "./codelists/codelists.json", export_to)
import_json_from |
A character containing the path of the json file containing the codelists.
defaults to |
export_to |
The path to which the file should be saved |
This function currently only exports an HTML file but it can be adapted to output text, markdown, etc. Ideally this would be an in-built OpenSAFELY feature rather than written externally in R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.