A simple node.js app that cleans Google Flu Trends data into a CSV format suitable for http://thedash.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
Procfile
README.md
package.json
server.js

README.md

sniffles

A simple node.js app that cleans Google Flu Trends data into a CSV format suitable for Dash

Quickstart

# get it from GitHub
git clone git@github.com:jerryorr/sniffles.git
cd sniffles

# Fire it up
node server

# United States data only
curl http://localhost:5000

# A variety of regions
curl 'http://localhost:5000?region=United%20States&region=Pennsylvania&region=Maryland'

Usage on Dash

  1. Deploy sniffles somewhere that the intewebs can see it (like Heroku)
  2. Go to http://thedash.com
  3. Sign up for an account if you don't already have one
  4. Create a new dashboard
  5. Select + > Custom > Custom Chart
  6. Put http://yourhost.org:5000?region=United%20States&region=Pennsylvania&region=Maryland in the Data URL field.
  7. Gaze in amazement at your beautiful chart.