View source: R/import_encoding_check.R
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.
1 2 3 4 5 | encoding_check(
df,
bad_seq_regex = "[^[`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,\\./ ~!@#$%^&*()_+QWERTYUIOP\\{\\}|ASDFGHJKL:\"ZXCVBNM<>?`]]"
)
|
df |
an R dataframe to check |
bad_seq_req |
A regex of values that denote characters that should not appear with correct encoding |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.