get_table_data: Collect table data

View source: R/pull_tables_get.R

get_table_dataR Documentation

Collect table data

Description

Collect data from a generic table

Usage

get_table_data(table, source, year, vars = NULL, db_con, collect_n = Inf)

Arguments

table

table to collect variables from

source

ccae, mdcr or medicaid

year

year (as integer value)

vars

a vector of variables to collect. If NULL all variables in a table will be returned

db_con

a connection to a database,

collect_n

the number of rows to collect

Value

A tibble of variables from the respective table


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