prepare_cpt4 | R Documentation |
Run the java script that reconstitutes CPT4 concepts directly from the R console. CPT4 will not be loaded into Postgres If this is not run beforehand.
prepare_cpt4(
path_to_csvs,
umls_api_key = Sys.getenv("UMLS_API_KEY"),
verbose = TRUE
)
path_to_csvs |
Path to folder containing the unpacked vocabularies as csv files, downloaded as a zip from athena.ohdsi.org. |
umls_api_key |
API Key given at UMLS Licensee Profile. |
verbose |
If TRUE, prints back activity in the R console as it is occurring. |
A copy of the CONCEPT.csv file is made to CONCEPT_WITHOUT_CPT4.csv
for safekeeping. If the function exits early, the CONCEPT.csv file
is replaced with CONCEPT_WITHOUT_CPT4.csv and the logs
directory
is unlinked recursively. If the function completes, the
CONCEPT_WITHOUT_CPT4.csv is removed instead. This way, the file
would not need to be redownloaded in case something goes wrong
during processing.
cat_line
typewrite
,
map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.