AE 07: 500 recent opinion articles in The Chronicle

Application exercise

Part 1 - Data scraping

Fill in ae-07-chronicle-scrape.Rfor suggested scraping code.

Part 2 - Data analysis

Let’s start by loading the packages we will need:

# add code here
  • Load the data you saved into the data folder and name it chronicle.
# add code here
  • How many opinion articles were published in The Chronicle since the beginning of the semester?
# add code here
  • Who are the top 10 most prolific authors among the 500 most recent opinion articles and how many articles have they each published?
# add code here
  • Display the date, title, and author of any article(s) that mention AI in their title.
# add code here
  • Come up with another question and try to answer it using the data.
# add code here