intToEnc: Converts an integer vector to a character vector.

View source: R/encoding.R

intToEncR Documentation

Converts an integer vector to a character vector.

Description

Conversion of integer vector to character vector. The encoding of the character vector can be specified but defaults to the current locale.

Usage

intToEnc(x, encoding = localeToCharset())

Arguments

x

Integer vector

encoding

A character string describing the encoding of x. Defaults to the current locale. See also iconvlist()

Value

A character vector

See Also

iconv()

Other Functions to clean data: encToInt(), fix_common_encoding_problems(), fix_levels_01_spss(), has_dont_know(), leveltest, remove_all_dont_know(), remove_dont_know()

Examples

intToEnc(8212)

andrie/surveydata documentation built on March 13, 2023, 2 a.m.