Skip to content

An interactive visualization of the history of NYTimes international coverage

Notifications You must be signed in to change notification settings

vincentvb/nyt-coverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt Text

An interactive map that visualizes where the NYTimes has focused its international coverage — spanning from 1852-2020.

Requirements

  • Python 3.x
  • Node.js >= 16

Quick Start

npm install

npm start

Data Collection

This visualization relies entirely upon data supplied by NYTime's Archive API.

While the data has already been retrieved and saved in the repo as CSV files, you can recreate the data retrieval process as follows:

# Register for an NYT Developer API key and follow the instructions found at: https://developer.nytimes.com/get-started

python -r requirements.txt

# The following script will take upwards of 3 hours to run due to API rate limiting constraints. Maybe watch a movie while you wait?

API_KEY={YOUR API KEY HERE} python data_collection/api.py

python data_collection/transform_data.py

About

An interactive visualization of the history of NYTimes international coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published