Skip to main content
HomeR

Course

Web Scraping in R

Intermediate
4.8+
27 reviews
Updated 05/2025
Learn how to efficiently collect and download data from any website using R.
Start Course for Free

Included withPremium or Teams

RData Preparation4 hours13 videos45 Exercises3,600 XP13,610Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Have you ever come across a website that displays a lot of data such as statistics, product reviews, or prices in a format that’s not data analysis-ready? Often, authorities and other data providers publish their data in neatly formatted tables. However, not all of these sites include a download button, but don’t despair. In this course, you’ll learn how to efficiently collect and download data from any website using R. You'll learn how to automate the scraping and parsing of Wikipedia using the rvest and httr packages. Through hands-on exercises, you’ll also expand your understanding of HTML and CSS, the building blocks of web pages, as you make your data harvesting workflows less error-prone and more efficient.

Prerequisites

Intermediate RIntroduction to the Tidyverse
1

Introduction to HTML and Web Scraping

Start Chapter
2

Navigation and Selection with CSS

Start Chapter
3

Advanced Selection with XPATH

Start Chapter
4

Scraping Best Practices

Start Chapter
Web Scraping in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.8
from 27 reviews
85%
15%
0%
0%
0%
  • Md Aminul Islam
    2 days

  • MUHAMMAD ALI
    3 days

    Amazing

  • Mushtaq
    3 days

    Mushtaq's Review of "Web Scraping in R" Course

    review <- "This course is an excellent resource for learning web scraping with R. The lessons on rvest and httr were particularly helpful in understanding how to extract data from websites efficiently. The hands-on exercises, including working with XPATH and applying throttling techniques, made the learning experience practical and engaging. I highly recommend this course to anyone interested in scraping and automating data extraction with R. Whether you're new to R or looking to enhance your scraping skills, this course provides the tools and techniques you need."print(review)

  • Shoaib Ul
    4 days

  • Zia Zuhaib
    7 days

  • David
    2 days

Md Aminul Islam

"Amazing"

MUHAMMAD ALI

Shoaib Ul

Join over 16 million learners and start Web Scraping in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.