Translates a CSS3 selector into an equivalent XPath expression. This allows us to use CSS selectors when working with the XML package as it can only evaluate XPath expressions. Also provided are convenience functions useful for using CSS selectors on XML nodes. This package is a port of the Python package 'cssselect' ().

Documentation

Manual: selectr.pdf
Vignette: None available.

Maintainer: Simon Potter <simon at sjp.co.nz>

Author(s): Simon Potter*, Simon Sapin*, Ian Bicking*

Install package and any missing dependencies by running this line in your R console:

install.packages("selectr")

Depends R (>= 2.15.2)
Imports methods, stringr
Suggests testthat, XML, xml2
Enhances
Linking to
Reverse
depends
Reverse
imports
clifro, rvest, wikilake
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package selectr
Materials
URL https://sjp.co.nz/projects/selectr
Task Views
Version 0.3-1
Published 2016-12-19
License BSD_3_clause + file LICENCE
BugReports https://github.com/sjp/selectr/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks selectr check results
Package source selectr_0.3-1.tar.gz