One of my favorite tool is XPath, the query language for exploring XML and HTML trees. In this post, I will highlight a few use cases of this “angle-bracket crunching tool” and hope to convince you that it’s an awesome thing to know about and play with.
Many thanks to Christophe Dervieux for useful feedback on this post! Mille mercis !
Brief intro to XPath in R
Say I have some XML,
<pre …