cdw_tbl: Create a tbl pointer to any CDW database/schema/table

Description Usage Arguments Value Examples

View source: R/cdw_tbl.R

Description

If a name is not provided, will print a list of the available tables in the current connection settings.

Usage

1
cdw_tbl(conn, name = NA)

Arguments

conn

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

name

A character string specifying the table name

Value

a tbl or a display of tables and views available

Examples

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

cdw_tbl(conn)

cdw_tbl(conn, DBI::Id(database = "CLINICAL_ANALYTICS_PROD",
                      schema = "DMS_ACUTE_CARE",
                      table = "SEPSIS"))

disconnect_cdw(conn)

## End(Not run)

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