Utility Functions of Fangzhou Xie

This is a collection of some useful functions when dealing with text data. Currently it only contains a very efficient function of decoding HTML entities in character vectors by 'Rcpp' routine.


xutils

CRAN_Status_Badge CRAN_Downloads BuildStatus License:MIT

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:

install.packages("xutils")

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("xutils")

0.0.2 by Fangzhou Xie, 5 years ago


https://github.com/fangzhou-xie/xutils, https://fangzhou-xie.github.io/xutils/index.html


Report a bug at https://github.com/fangzhou-xie/xutils/issues


Browse source code at https://github.com/cran/xutils


Authors: Fangzhou Xie [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp

Suggests knitr, markdown, rmarkdown, textutils, bench, xml2, testthat

Linking to Rcpp


See at CRAN