View source: R/build_db_functions.R
get_linked_all_truven | R Documentation |
This function goes to the main database and pulls...
get_linked_all_truven(
table_name,
source,
year,
join_table,
join_by = "enrolid",
con,
collect_n = 10
)
table_name |
name of table to pull |
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 |
join_table |
a table containing enrolids (or other) to join on |
join_by |
a vector of variables to join by in the join table |
con |
a database connection |
collect_n |
number of rows to collect |
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.