mn_recode_tbl: Launch interactive manual recode table

Description Usage Arguments Value Examples

View source: R/manual-recode.R

Description

Create and launch an editable interactive manual recoding look up table. Edit entries and export to a variety of formats. Tables can be used to join manual corrections or through functions like plyr::revalue

Usage

1
mn_recode_tbl(df, recode_var, pattern = NULL)

Arguments

df

a data.frame or tibble

recode_var

the unquoted name of the column for which recoding is required

pattern

optional character string of regex pattern to match. Matches are highlighted in the pattern column

Value

an html editable table widget of the selected variable and an editable recode column.

Examples

1
2
3
4
5
## Not run: 
mn_recode_tbl(mtcars, cyl)
mn_recode_tbl(mtcars, cyl, "4")

## End(Not run)

annakrystalli/seabirddiet.devtools documentation built on Nov. 2, 2019, 1:54 p.m.