The package provides a few ways to classify domains based on their content. You can either get the categorizations from shallalist, trusted (McAfee), DMOZ (the service has ended), Alexa API, which uses the DMOZ Data, or virustotal API, or use validated machine learning models based off the shallalist data.
To get the current release version from CRAN:
install.packages("rdomains")
To get the current development version from GitHub:
# install.packages("devtools")
devtools::install_github("themains/rdomains", build_vignettes = TRUE)
To learn how to use rdomains, read this vignette. Or launch the vignette within R:
vignette("rdomains", package = "rdomains")
Scripts are released under the MIT License.