Description Usage Arguments Examples
Set up a connection to Snowflake (CDW)
| 1 2 3 4 5 6 | connect_cdw(
  database = "HI_DB",
  schema = "WHS_SYNERGY",
  role = "REGIONAL_ANALYTICS_RO",
  warehouse = "REGIONAL_ANALYTICS_WH"
)
 | 
| database | a valid database that the specified role can access. Default is PHC_DB_DEV | 
| schema | a valid schema that the specified role can access. Default is WHS_CORE_CDM | 
| role | a valid role that you can use. Default is PHC_ANALYTICS. Roles typically have default databases and warehouses. | 
| warehouse | a valid warehouse that the specified role can access. Default is PHC_ANALYTICS_WH_S. | 
| 1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run: 
conn <- connect_cdw()
ccdm_tbl(conn)
ccdm_tbl(conn, "HOSPITAL_ENCOUNTERS")
ccdm_tbl(conn, role = "REGIONAL_ANALYTICS")
disconnect_cdw(conn)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.