LoslegenKostenlos loslegen

Select all children of a list

Given the following ordered list (using the ol element), which is stored as list_raw_html:


  1. Learn HTML
  2. Learn CSS
  3. Learn R
  4. 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.

Diese Übung ist Teil des Kurses

Web Scraping in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Read in the corresponding HTML string
list_html <- ___
Code bearbeiten und ausführen