knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(explorys)

Connecting to the database is straightforward. Just pass in your username and password to the connect_to_data function

connect_to_data(username = "XXXX", 
                     password = "XXXX")

Getting demographics is also simple.

demographics = get_demographics(supermart = "supermart_xxx", 
                                sandbox = "sandbox_xxx", 
                                cohort = 'hypertension_cohort')


aminyakubu/explorys documentation built on Dec. 13, 2020, 4:40 a.m.