With correct parameters, it effectievly recodes
the religion variables. recode_religion
wraps it,
and conducts series of checks to confirm that variables for
recoding are good and that it will produce a correct religious
identification. In addition, recode_religion
allows
for more flexibility in terms of output. However, this function
is the essence of the package, and contains details about logic
of the recoding schema, and can also be inspected at
github.com/mdjeric/resurrectionr
fct_rec_relig(religion, denomination, other)
religion, denomination, other | Factors. |
---|
Character vector with recoded religion.