Description Usage Arguments Value
Return information for a specific list of rx codes over multiple core tables (in parallel)
1 2 3 4 5 6 7 8 | gather_rx_data(
collect_tab = collect_table(),
ndc_codes,
rx_vars = c("enrolid", "ndcnum", "svcdate"),
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 |
ndc_codes |
The rx codes of interest |
rx_vars |
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 |
proc_vars |
List of variables to return |
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.