View source: R/recode-regexp.R
do_recode_regexp | R Documentation |
Recode variables with regular expression based on the
specification in tbl_KodeBok
with TYPE RE
. The specification in the
codebook can be specific, common or general. Specific is when both
LESID
and FILGRUPPE
are specified to create a unique reference to be
able to recode the variables. Common is when only FILGRUPPE
is
specified while LESID
left empty and general is when FILGRUPPE
is specified with ALLE
while LESID
left empty.
do_recode_regexp(dt = NULL, spec = NULL, con = NULL)
dt |
Input data preferrably in a |
spec |
Specifications data as a data.frame |
con |
Connection to database |
Other recode functions:
do_recode()
,
do_recode_aggregate()
,
do_recode_post()
,
get_codebok()
,
get_codebok_aggregate()
,
get_codebok_regexp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.