This is a package that contains functions dealing with data, which I personally found useful. Hence the name: xutils.

Installation

You can install the released version of xutils from CRAN with:

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("fangzhou-xie/xutils")

Example

This is a basic example of using the only function in xutils package: the html_decode function.

# load library
library(xutils)
# create test strings
strings <- c("abcd", "&amp; &apos; &gt;", "&amp;", "&euro; &lt;")
# decode
html_decode(strings)
#> [1] "abcd"  "& ' >" "&"     "€ <"

License

The package is distributed under MIT license.