act_clean: act_clean

View source: R/act_clean.R

act_cleanR Documentation

act_clean

Description

Uses linelist::clean_data to clean strings and subsequently works to back convert inappropriately modified numeric and factor data to correct classes

Usage

act_clean(db, indiv_num = NULL, ...)

Arguments

db

Database to clean

indiv_num

Vector of variables in format of c("x", "y", etc) to retain as numeric if all whole numbers (which are otherwise converted to factors)

...

Additional arameters to pass to linelist's clean_data, including dictionary for spell changes

Value

A hopefully cleaner database

Examples

act_clean(db)

deansayre/Rtesunate documentation built on July 25, 2024, 7:22 p.m.