data_clean: Prepare dataframe for the analysis

View source: R/clean.R

data_cleanR Documentation

Prepare dataframe for the analysis

Description

Depending on the selected cleaning plan, for example, recodes residual values to NA.

Usage

data_clean(data, plan = "default", ...)

Arguments

data

Data frame.

plan

The cleaning plan. By now, only "default" is supported. See data_clean_default.

...

Other parameters passed to the appropriate cleaning function.

Details

The tibble remembers whether it was already cleaned and the cleaning plan is only applyed once in the first call.

Value

Cleaned data frame with vlkr_df class.

Examples

ds <- volker::chatgpt
ds <- data_clean(ds)

volker documentation built on April 12, 2025, 9:16 a.m.