View source: R/query_mortality.R
query_mortality | R Documentation |
Title query_icd10_codes
query_mortality(
mortality_tbl,
time_window,
return_vals,
codes = NA,
search_strat_diag = "1abc"
)
mortality_tbl |
The mortality table |
time_window |
The time window to search within - must be a lubridate::interval() object |
return_vals |
A switch on what is being returned. If nothing found then NA is returned. Can be a vector |
codes |
A vector ICD-10 codes to search for e.g. c("I210", "I219") |
search_strat_diag |
The diagnosis search strategy, one out of c("primary", "secondary", "all") |
Depends on the return_val parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.