Description Usage Arguments Value Examples
Note: requires a connection using a Snowflake role such as PHC_ANALYTICS If a schema name is not provided, will print a list of the available schemas in PHC_DB_DEV. If a table name is not provided, will print a list of the available tables in the specified schema.
1 |
conn |
a DBI-compliant connection object. recommend using the 'connect_cdw()' function |
schema |
A character string specifying a table |
name |
A character string specifying a table or view |
a tbl or a display of tables and views available
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# must use a role that has access (ie. PHC_ANALYTICS)
conn <- connect_cdw(role = "PHC_ANALTYICS")
phc_tbl(conn)
phc_tbl(conn, schema = "REF")
phc_tbl(conn, "WHS_SEPSIS_DATAMART", "SEPSIS")
disconnect_cdw(conn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.