clean: Clean data

Description Usage Arguments Value

View source: R/utils.R

Description

Performs universal cleaning operations of lowering variable name case, ensuring necessary variables, imputing missing values when possible, and reconverting types after imputation.

Usage

1
clean(.data, expected)

Arguments

.data

a data_frame object

expected

character vector of expected variables

Value

The cleaned dataset


uvic-cisur/intermahpr documentation built on June 17, 2020, 1:30 a.m.