View source: R/codesFromConceptSet.R
codesFromConceptSet | R Documentation |
Get concept ids from a provided path to json files
codesFromConceptSet(path, cdm, type = c("codelist"))
path |
Path to a file or folder containing JSONs of concept sets |
cdm |
A cdm reference created with CDMConnector |
type |
Can be "codelist", "codelist_with_details", or "concept_set_expression" |
Named list with concept_ids for each concept set
cdm <- mockVocabRef("database")
x <- codesFromConceptSet(cdm = cdm,
path = system.file(package = "CodelistGenerator",
"concepts_for_mock"))
x
CDMConnector::cdmDisconnect(cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.