m4_procedureevents_items: Access procedureevents items reference

Description Usage Arguments Details Value Examples

View source: R/m4_dimensions.R

Description

This function provides base access to the d_items table which defines concepts recorded in the procedureevents table in the icu module.

Usage

1

Arguments

con

A bigrquery::bigquery() DBIConnection object, as returned by DBI::dbConnect() with an appropriate bigrquery::bigquery() DBI driver specified in the call.

category

an character string defining the item category of interest

Details

Table attributes for procedureevents_items sub-table:

(PKEY itemid) reference data for procedureevents table

Value

a tibble with the results.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# To run examples, you must have the BIGQUERY_TEST_PROJECT environment
# variable set to name of project which has billing set up and to which
# you have write access.
con <- bigrquery::dbConnect(
  bigrquery::bigquery(),
  project = bigrquery::bq_test_project(),
  quiet = TRUE
)

tab <- m4_procedureevents_items(con)
tab

bigrquery::dbDisconnect(con)

hdshea/MIMIC4db documentation built on Dec. 20, 2021, 3:45 p.m.