Web Scraping UK Government COVID-19 Briefings in R

Daniel Braby
5 min readNov 7, 2020

Here in this blog post, I’m going to give you a quick overview of how I used two R packages: ‘rvest’ for easy web scraping, and stringr to generate variables based on harvested textual content, to produce a data frame of every UK Government COVID-19 Press Briefing so far (oh the joys).

library(rvest)
library(stringr)

rvest

--

--