enact_recodes: Apply a set of recode instructions to a dataset

View source: R/enact_recodes.R

enact_recodesR Documentation

Apply a set of recode instructions to a dataset

Description

Apply a set of recode instructions to a dataset

Usage

enact_recodes(data, ..., ignore_case = TRUE, copy = TRUE)

Arguments

data

data.frame (or something that inherits from a data frame)

...

objects coercible to a list of recode_instructions

ignore_case

logical. should the case of names(data) be ignored?

copy

logical. If false and data is a data.table object, the function omits a copy step and will alter the underlying data.table by reference


PHSKC-APDE/rads documentation built on April 14, 2025, 10:47 a.m.