ccdm_tbl: Create a tbl pointer to Core CDM

Description Usage Arguments Value Examples

View source: R/ccdm_tbl.R

Description

If a name is not provided, will print a list of the available tables in PHC_DB_DEV.WHS_CORE_CDM.

Usage

1
ccdm_tbl(conn, name = NA)

Arguments

conn

a DBI-compliant connection object. recommend using the 'connect_cdw()' function

name

Table in the PHC_DB_DEV.WHS_CORE_CDM schema

Value

a tbl or a display of tables and views in the WHS_CORE_CDM schema

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
conn <- connect_cdw()

ccdm_tbl(conn)

ccdm_tbl(conn, "HOSPITAL_ENCOUNTERS")

disconnect_cdw(conn)

## End(Not run)

RollieParrish/ccdm documentation built on Dec. 31, 2020, 4:26 p.m.