collect_table: Build collection tibble

View source: R/collection_tables.R

collect_tableR Documentation

Build collection tibble

Description

'collect_table' sets up a collection tibble for holding and distributing queries across a rand of tables in the database

Usage

collect_table(
  settings = c("inpatient", "outpatient", "rx"),
  sources = c("ccae", "mdcr"),
  years = 1:20,
  medicaid_years = NULL
)

Arguments

settings

"inpatient", "outpatient", "rx"

sources

"ccae" or "mdcr" or c("ccae","mdcr")

years

vector of years to collect. Note: if no argument is provided all years will be selected

medicaid_years

years of medicaid data to collect. Default is NULL

Value

a tibble

Examples

collect_table()

aarmiller/smallDB documentation built on March 29, 2024, 9:37 a.m.