do_recode | R Documentation |
Recode variables based on the specification in tbl_KodeBok
ie. codebook.
LESID
must be combined with FILGRUPPE
to create a unique reference to
be able to recode the variables. Specification group ALLE
will be
used when neither FILGRUPPE
nor LESID
is specified.
do_recode(dt = NULL, spec = NULL, con = NULL, control = FALSE)
dt |
Input data preferrably in a |
spec |
Specifications data as a data.frame |
con |
Connection to database |
control |
Logical value. |
Other recode functions:
do_recode_aggregate()
,
do_recode_post()
,
do_recode_regexp()
,
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.