tidy_BioSense: Tidies-up Raw NSSP Data

Description Usage Arguments Details Value

Description

Tidies-up Raw NSSP Data

Usage

1

Arguments

df

a raw NSSP data.frame

Details

This function converts date and time fields to the right format for R. Also, it adds new calculated fields including one for the age of the patient in years (Age_years) and another one containing the concatenation of the literal fields (Text). In addition, it attempts to standardize the entries in the Age_Units field.

Value

Returns a data frame with additional calculated fields.


hmenag1/ss4weka documentation built on May 17, 2019, 4:34 p.m.