Mining and visualizing btb interviews.
The New York Times Book Review has a weekly interview feature called By the Book. Authors are interviewed about their past, current, and planned reading habits. This repository contains code to search the text of those interviews, look for the authors mentioned by each interviewee, extract the author names, determine the gender of each author mentioned, and access the Goodreads API and Wikipedia for more information about each author mentioned.
parsethenaddloop.R
: Loops through text files, extracts author names (interactive), queries GR API & wikipedia, adds to datasetcreatefunctions.R
: defines functionssummaryobjects.R
: creates summary objects for visualizationbtb.Rmd
: RMarkdown to generate summary discussion & visualizationbtb.md
: summary discussion & visualization