Select all children of a list
Given the following ordered list (using the ol
element), which is stored as list_raw_html
:
- Learn HTML
- Learn CSS
- Learn R
- Scrape everything!*
*Do it responsibly!
In this exercise, you'll learn to apply the rvest
function that allows you to directly select children of a certain node.
Cet exercice fait partie du cours
Web Scraping in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Read in the corresponding HTML string
list_html <- ___