get_core_data: Collect core data

View source: R/pull_tables_get.R

get_core_dataR Documentation

Collect core data

Description

collect data from the core table

Usage

get_core_data(setting, source, year, vars = c(), db_con, collect_n = Inf)

Arguments

setting

inpatient or outpatient

source

ccae or mdcr

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 core table


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