New York Times text articles exploration, sentiment analysis, visualization and topic modeling in R using widyr
and tidytext
.
The scraping and analysis is done on 500 articles pertaining to Parkland School Gun Schooting. News articles covered from 22 - February 2018 and 22 - April 2018. NYT API is utilized to scrap related articles.
NYT_R_workout.Rmd
knit gives html output whereas try_pdf.Rmd
gives PDF formatted output, given that all necessary packages are installed.
The html preview of the output is ➡️ here