Description Usage Arguments Value
Return inpatient and outpatient core information for a specific list of cpt codes over multiple core tables (in parallel)
1 2 3 4 5 6 7 8 | gather_proc_data(
collect_tab = collect_table(),
cpt_codes,
proc_vars = c("enrolid", "proc1", "svcdate", "admdate", "proc", "disdate"),
db_path,
collect_n = Inf,
num_cores = NULL
)
|
collect_tab |
A tibble with the specific setting (i.e. inpatient or outpatient), source (i.e. ccae or mdcr), and year to access. Default is all possible combinations of setting, source, and year |
cpt_codes |
The cpt codes of interest |
proc_vars |
List of variables to return |
db_path |
Path to the database |
collect_n |
The number of observations to return |
num_cores |
The number of worker cores to use. If not specified will determined the number of cores based on the which ever is the smallest value between number of rows in for collect_tab or detected number of cores - 1 |
A tibble with cpt code of interest for the specified list of variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.