Compare the the New York Times coverage of any two topics in any year between 1981 and 2013.
TimesGrapher is built on Rails and Backbone.js. It uses the New York Times' articles search API.
You must have a valid articles search New York Times API key. Set this as your $NY_TIMES_API_KEY environment variable.
git clone https://github.com/mdb/times_grapher.git
cd times_grapher
bundle install
rails server
TimesGrapher uses Rspec to test Ruby & Jasmine to test its JavaScript.
To run the tests:
bundle exec rake
TimesGrapher is set up for easy Heroku deployment.
Assuming you have a Heroku account and the Heroku CLI:
cd times_grapher
heroku create
heroku config:set NY_TIMES_API_KEY=<your NY_TIMES_API_KEY here>
git push heroku master