View source: R/pull_tables_get.R
get_inpatient_dx_visits | R Documentation |
Collect inpatient visits for a particular diagnosis along with the diagnosis order
get_inpatient_dx_visits(
source,
year,
dx_list,
dx_num = TRUE,
db_con,
collect_n = Inf
)
source |
ccae, mdcr or medicaid |
year |
year (as integer value) |
dx_list |
A named list of icd9 and icd10 codes, with names of "icd9_codes" and "icd10_codes", respectively |
dx_num |
a logical indicator of whether to collect diagnosis number. Default is TRUE. |
db_con |
a connection to a database, |
collect_n |
the number of rows to collect |
A tibble of variables from the respective table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.