convEncoding: convEncoding

View source: R/fixencoding.R

convEncodingR Documentation

convEncoding

Description

convert character column in a dataset to a new encoding (old encoding should be given)

Usage

convEncoding(df, originalEncoding = "UTF-8", targetEncoding = NULL)

Arguments

df

A dataset

originalEncoding

The originale encoding value (accepted value can be obtained via iconvlist())

targetEncoding

The target encoding value (For R should be latin1 or UTF-8)

Value

The newly encoded dataset


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.