encoding_check: Encoding check

Description Usage Arguments

View source: R/import_encoding_check.R

Description

This function takes in a dataframe and returns rows with characters that denote bad encoding, either using a default list, or allowing user to provide characters to catch.

Usage

1
2
3
4
5
encoding_check(
  df,
 
    bad_seq_regex = "[^[`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,\\./ ~!@#$%^&*()_+QWERTYUIOP\\{\\}|ASDFGHJKL:\"ZXCVBNM<>?`]]"
)

Arguments

df

an R dataframe to check

bad_seq_req

A regex of values that denote characters that should not appear with correct encoding


associatedpress/apdatacheck documentation built on Feb. 17, 2020, 9:27 p.m.