recode_helper: Helper functions in package mde

Description Usage Arguments

View source: R/helpers.R

Description

Helper functions in package mde

Usage

1
2
3
4
5
6
7
8
9
recode_helper(
  x,
  pattern_type = NULL,
  pattern = NULL,
  original_value,
  new_value,
  case_sensitive = FALSE,
  ...
)

Arguments

x

A data.frame object

pattern_type

One of contains', 'starts_with' or 'ends_with'.

pattern

A character pattern to match

original_value

Value to replace

new_value

Replacement value.

case_sensitive

Defaults to FALSE. Patterns are case insensitive if TRUE

...

Other arguments to other functions


mde documentation built on Feb. 10, 2022, 5:08 p.m.

Related to recode_helper in mde...