tidy_vent_times: Tidy vent times

Description Usage Arguments Details Value

Description

tidy_vent_times tidy ventilator start/stop data

Usage

1
tidy_vent_times(raw.data, visit.times)

Arguments

raw.data

A data frame with vent times

visit.times

A data frame with discharge date/times

Details

This function takes a data frame with ventilator times and produces a tidy version with accurate start and stop dates/times. It accounts for incorrect end times from raw EDW data. The data should be read in by read_edw_data.

Value

A data frame


bgulbis/BGTools documentation built on May 12, 2019, 8:21 p.m.