View source: R/build_db_functions.R
get_linked_visits_all | R Documentation |
This function goes to the main database and pulls...
get_linked_visits_all(
setting,
source,
year,
enrolid_table,
con,
collect_n = 10,
HCUP = FALSE
)
setting |
"inpatient", "outpatient", "rx" |
source |
"ccae" or "mdcr" or c("ccae","mdcr") |
year |
vector of years to collect. Note: if no argument is provided all years will be selected |
enrolid_table |
a table containing enrolids to pull data for |
con |
a database connection |
collect_n |
number of rows to collect |
HCUP |
a logical indicator of whether collecting data from HCUP (vs Truven) |
A list containing three tibbles (timemap, outpatient keys, and inpatient keys)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.