The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Title: Utility Functions of Fangzhou Xie
Version: 0.0.2
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.1.1
URL: https://github.com/fangzhou-xie/xutils, https://fangzhou-xie.github.io/xutils/index.html
BugReports: https://github.com/fangzhou-xie/xutils/issues
LinkingTo: Rcpp
Imports: Rcpp
Suggests: knitr, markdown, rmarkdown, textutils, bench, xml2, testthat (≥ 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2021-09-06 21:46:51 UTC; xiefangzhou
Author: Fangzhou Xie ORCID iD [aut, cre]
Maintainer: Fangzhou Xie <fangzhou.xie@rutgers.edu>
Repository: CRAN
Date/Publication: 2021-09-06 22:10:02 UTC

Decode a character vector

Description

This function is a wrapper around existing C++ code on decoding HTML entities. The original C++ code is given by Christoph. Please refer to the answer on SO here.

Usage

html_decode(str)

Arguments

str

A character vector

Value

Decoded character vector

Examples

html_decode(c("&amp;", "&euro;"))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.