This is a package that contains functions dealing with data, which I personally found useful. Hence the name: xutils.
You can install the released version of xutils from
CRAN with:
install.packages("xutils")
And the development version from GitHub with:
# install.packages("devtools")
# devtools::install_github("fangzhou-xie/xutils")
install.packages("xutils", repos = c('https://fangzhou-xie.r-universe.dev', 'https://cloud.r-project.org'))
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", "& ' >", "&", "€ <")
# decode
html_decode(strings)
#> [1] "abcd" "& ' >" "&" "€ <"
The package is distributed under MIT license.