R package for deriving variables from the OMOP Common Data Model.
install.packages("devtools")
library("devtools")
install_github("ohdsi/OhdsiRTools")
install_github("ohdsi/SqlRender")
install_github("ohdsi/DatabaseConnector")
install_github("thehyve/ohdsi-DeriveVariables")
library("OHDSIDeriveVariables")
connectionDetails <- createConnectionDetails(dbms="postgresql",
server="localhost/ohdsi",
user="postgres", password="",
port=5432,
schema="cdm5")
connection <- connect(connectionDetails)
createCohort(connection, connectionDetails, "cdm5", "study", "cohort")
cohort <- getCohort(connectionDetails, "cdm5", "study", "cohort")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.