sjp/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' (<https://cssselect.readthedocs.io/>).

Getting started

Package details

Maintainer
LicenseBSD_3_clause + file LICENCE
Version0.4-2
URL https://sjp.co.nz/projects/selectr
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("sjp/selectr")
sjp/selectr documentation built on May 11, 2024, 12:15 p.m.