Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/query_data_mainpulation_tbls.R
This takes data from the respiratory_vae_query()
and performs the necessary
calculations to see if a possible VAE has occurred.
1 |
.data |
The data passed in from |
Returns a tibble
Expects respiratory_vae_query()
as the data argument
Makes the calculations according to the CDC NHSN VAE Calculator https://nhsn.cdc.gov/VAECalculator/vaecalc_v7.html
A tibble
Steven P. Sanderson II, MPH
This one works better, more concise and works in 3.6.x and 4.0.x https://stackoverflow.com/questions/26553638/calculate-elapsed-time-since-last-event
VAE Calculator (requires javascript) https://nhsn.cdc.gov/VAECalculator/vaecalc_v7.html
Adding data.table to Depends: issue https://stackoverflow.com/questions/27980835/r-data-table-works-in-direct-call-but-same-function-in-a-package-fails
1 2 3 4 5 6 7 8 9 | ## Not run:
respiratory_vae_query() %>%
respiratory_vae_tbl()
respiratory_vae_query() %>%
respiratory_vae_tbl() %>%
save_to_excel(.file_name = "respiratory_vae")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.