Learn R Programming

icd (version 3.3)

get_non_ASCII: mimic the R CMD check test

Description

R CMD check is quick to tell you where UTF-8 characters are not encoded, but gives no way of finding out which or where

Usage

get_non_ASCII(x)

is_non_ASCII(x)

get_encodings(x)

Arguments

Examples

Run this code
# NOT RUN {
sapply(icd9cm_hierarchy, icd:::get_non_ASCII)
icd:::get_encodings(icd9cm_hierarchy)
sapply(icd9cm_billable, icd:::get_non_ASCII)
sapply(icd9cm_billable, icd:::get_encodings)
# }

Run the code above in your browser using DataLab