This is a study of treatment pathways in hypertension, diabetes, and depression during the first 12 mo after diagnosis. Detailed information and protocol is available on the OHDSI Wiki.
R Version
- Run R
library(devtools)
install_github(c("OHDSI/SqlRender","OHDSI/DatabaseConnector","OHDSI/OhdsiStudy2"))
library(OhdsiStudy2)
?execute # To get extended help
execute(dbms = "postgresql",
user = "joebruin",
password = "supersecret",
server = "myserver",
cdmSchema = "cdm_schema",
resultsSchema = "results_schema")
# To automatically email result files
email(from = "[email protected]",
dataDescription = "CDM4 Simulated Data")
- Email (if not already done in R) the result files (*.csv) to study coordinator.
If you would like to run the study directly from SQL without using R, contact the study administrator listed on the Wiki page.