createCDB | R Documentation |
Extracts SNOMED CT concepts from appropriate places in the hierarchy to create a set of CDB files in an environment. Uses WordNet and manual synonyms if available.
createCDB(
SNOMED = getSNOMED(),
TRANSITIVE = NULL,
WN = NULL,
MANUAL_SYNONYMS = NULL,
noisy = TRUE,
stopwords = c("the", "of", "by", "with", "to", "into", "and", "or", "at", "as",
"and/or", "in")
)
SNOMED |
environment containing a SNOMED dictionary |
TRANSITIVE |
transitive closure table, generated by createTransitive. It is regenerated if not provided. |
WN |
WordNet data.table as returned by downloadWordnet containing WordNet data from appropriate categories, in the format: cat (character), wordnetId (integer64), synonyms (list), parents (list), adj (list) |
MANUAL_SYNONYMS |
data.table with columns term1 and term2, containing additional exact synonyms or abbreviations |
noisy |
whether to output status messages |
stopwords |
vector of stopwords |
environment containing the following data tables: FINDINGS, QUAL, CAUSES, BODY, OTHERCAUSE, OTHERSEARCH, OVERLAP, TRANSITIVE
exportMiADECDB, MANUAL_SYNONYMS
Other CDB functions:
addComposeLookupToCDB()
,
addWordnet()
,
batchDecompose()
,
downloadOrphanet()
,
downloadWordnet()
# Not run
# data(MANUAL_SYNONYMS)
# WN <- downloadWordnet()
# MANUAL_SYNONYMS <- rbind(MANUAL_SYNONYMS, downloadOrphanet())
# CDBNEW <- createCDB(WN = WN, MANUAL_SYNONYMS = MANUAL_SYNONYMS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.