View source: R/searchStrategy.R
| searchStrategy | R Documentation |
getCandidateCodes() functionReport the search strategy used to identify codes when using the
getCandidateCodes() function
searchStrategy(x)
x |
A codelist. |
A tibble with the search strategy
library(omock)
library(CodelistGenerator)
library(dplyr, warn.conflicts = FALSE)
# Create CDM object
cdm <- mockCdmFromDataset(datasetName = "GiBleed")
codes <- getCandidateCodes(cdm = cdm,
keywords = c("sprain", "fracture"),
exclude = "knee",
domains = "Condition",
standardConcept = "Standard",
searchNonStandard = FALSE,
searchInSynonyms = TRUE,
includeDescendants = TRUE,
includeAncestor = FALSE)
searchStrategy(codes) |>
glimpse()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.