clnTxt: Clean text fields

Description Usage Arguments Examples

Description

Clean text field so there are less issues when posting the data to PI. This function will only leaves letters and numbers and remove multiple and trailing spaces and characters that are now UTF-8.

Usage

1
clnTxt(x)

Arguments

x

would be the field that wanted to be formatted.

Examples

1
x$field <- clnTxt(x$field) # You can opt to store your clean values on a new field

blacknred0/rWatsonPI documentation built on May 12, 2019, 9:29 p.m.