Description Usage Arguments Value Examples
View source: R/manual-recode.R
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
1 | mn_recode_tbl(df, recode_var, pattern = NULL)
|
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 |
an html editable table widget of the selected variable and an editable recode column.
1 2 3 4 5 | ## Not run:
mn_recode_tbl(mtcars, cyl)
mn_recode_tbl(mtcars, cyl, "4")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.