View source: R/convertIso3166.R
convert_iso3166 | R Documentation |
Convert actual answer codes in a result data set from one language to the other. Requires a
mapping table produced by map_iso3166
. If an answer code does not match, the original code will
be returned.
convert_iso3166(from.acode, from.alang, iso3166map)
from.acode |
Specifies the answer code to be converted. Usually a vector of variable (column) which stores answer codes regarding nationality or country. |
from.alang |
Specifies the specific language of the labels to be converted. This is synonymous to the language of the submission (startlanguage) |
iso3166map |
Data frame which maps answer codes from one language to the other. @seealso |
Vector of answer codes in the target language.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.