Skip to content

A simple node.js app that cleans Google Flu Trends data into a CSV format suitable for https://thedash.com

License

Notifications You must be signed in to change notification settings

jerryorr/sniffles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:jerryorr/sniffles.git
cd sniffles

# Fire it up
node server

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

# A variety of regions
curl 'https://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 https://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 https://yourhost.org:5000?region=United%20States&region=Pennsylvania&region=Maryland in the Data URL field.
  7. Gaze in amazement at your beautiful chart.

About

A simple node.js app that cleans Google Flu Trends data into a CSV format suitable for https://thedash.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published