deprecated_time_difference: internal_calculated_field_functions_discharge

Description Usage Details Author(s)

View source: R/deprecated_discharge.R

Description

internal_d1ki_calculated_field_functions is a list of quosures used to create extra data columns to imported SSNAP data to support domain 1 (scanning) aggregation calculations.

Usage

1
deprecated_time_difference(start_field, end_field, new_field_name, units)

Details

Calculated fields are returned as a list of functions so that a single dplyr mutate operation can undertake all the calculated fields in a single go.

It adds boolean fields for whether the scan was performed within 1 hour and 12 hours, and duplicates the scan time as a Key Indicator value.

Author(s)

Andrew Hill, andrew.hill@doctors.org.uk


md0u80c9/SSNAPStats documentation built on Feb. 11, 2020, 11:43 a.m.