selectr: Translate CSS Selectors to XPath Expressions

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' (<>).

Getting started

Package details

AuthorSimon Potter [aut, trl, cre], Simon Sapin [aut], Ian Bicking [aut]
MaintainerSimon Potter <>
LicenseBSD_3_clause + file LICENCE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the selectr package in your browser

Any scripts or data that you put into this service are public.

selectr documentation built on Jan. 11, 2020, 9:25 a.m.