Source Code

This project originated from a course on Data Harvesting during my master’s degree, which focused on creating a web scraping R script. However, upon careful consideration, I realized that many of my classmates would also need to scrape newspaper articles for their thesis. As a result, I decided to make their lives easier by developing a package that interfaces smoothly with The Guardian API. This package can be easily installed using devtools::install_github(“Yassinabdelhadyy/theguardian”)

This package is build on 2 concepts

1- To retrive the data that the API Provides

2- API data + the article body, tags, and author name.



# install.packages("devtools")
# devtools::install_github("Yassinabdelhadyy/theguardian")
# 
# 
# library(theguardian)
# ?theguardian