preprocess: Standardize Variables, Handle Dates, and Remove Bad Columns

View source: R/preprocess.R

preprocessR Documentation

Standardize Variables, Handle Dates, and Remove Bad Columns

Description

preprocess standardizes column names, converts variables to the appropriate data types (including oddly formatted dates/datetimes), and removes empty or constant columns.

Usage

preprocess(data, na_constant = TRUE)

Arguments

data

A dataframe(-like) object

na_constant

Should NA values be considered when deciding whether a column is constant? The default is TRUE, which will keep columns that only have 1 unique non-missing value.

Value

A processed tibble


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.