A package to calculate the counts of the standard and source concepts in an OMOP CDM and extract the current version of the mappings used
ConceptPrevalence is an R package.
In R, use the following commands to download and install:
install.packages("devtools") devtools::install_github("OHDSI/StudyProtocolSandbox/ConceptPrevalence")
library('ConceptPrevalence')
dbms <- 'your_dbms'
user <- 'user'
password <- 'password'
server <- Sys.getenv('server')
port <- Sys.getenv('port')
cdmName <- 'your_cdm_name'
cdmDatabaseSchema <- 'your_cdm_schema
vocabDatabaseSchema <- 'your_vocab_schema'
resultDatabaseSchema <-"your_results_schema"
connectionDetails <- DatabaseConnector::createConnectionDetails(
dbms = dbms,
server = server,
user = user,
password = password,
port = port
)
ConceptPrevalence::calculate (
connectionDetails,
cdmName,
cdmDatabaseSchema,
vocabDatabaseSchema,
resultDatabaseSchema
)
ConceptPrevalence is licensed under Apache License 2.0
ConceptPrevalence is being developed in R Studio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.