reformat_codelists: Converts a json file of codelist names and URLs into an HTML...

View source: R/codelists.R

reformat_codelistsR Documentation

Converts a json file of codelist names and URLs into an HTML table

Description

Converts a json file of codelist names and URLs into an HTML table

Usage

reformat_codelists(import_json_from = "./codelists/codelists.json", export_to)

Arguments

import_json_from

A character containing the path of the json file containing the codelists. defaults to ./codelists/codelists.json which is the OpenSAFELY standard

export_to

The path to which the file should be saved

Details

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.


wjchulme/osutils documentation built on Dec. 20, 2024, 9:56 a.m.