Description Usage Arguments Value See Also Examples
Note that some internal processing is performed to reflect general usage patterns
for converting DATE
and TIME
fields to POSIXct date-time format.
1 | db_get_patients(con, ...)
|
con |
A DBIConnection object, as returned by |
... |
an optional |
a tibble with the results.
For an overview of the MIMIC-III database, see: Overview of the MIMIC-III data. For details on the PATIENTS table, see: The patients table.
1 2 3 4 5 6 7 8 9 10 11 | con <- RSQLite::dbConnect(RSQLite::SQLite(), ":memory:")
ex <- tibble::tibble(SUBJECT_ID = c(10006, 10011),
DOB = c("2020-10-10", "2020-10-10"),
DOD = c("2020-10-10", "2020-10-10"),
DOD_HOSP = c("2020-10-10", "2020-10-10"),
DOD_SSN = c("2020-10-10", "2020-10-10"))
RSQLite::dbWriteTable(con, "PATIENTS", ex)
td <- db_get_patients(con, where = "WHERE SUBJECT_ID = 10006")
RSQLite::dbDisconnect(con)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.