respiratory_vae_tbl: Respiratory VAE Tibble

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/query_data_mainpulation_tbls.R

Description

This takes data from the respiratory_vae_query() and performs the necessary calculations to see if a possible VAE has occurred.

Usage

1

Arguments

.data

The data passed in from respiratory_vae_query()

Details

Value

A tibble

Author(s)

Steven P. Sanderson II, MPH

See Also

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

Examples

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)

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.