Skip to content

Instantly share code, notes, and snippets.

@dholstius
Created July 24, 2012 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dholstius/3171295 to your computer and use it in GitHub Desktop.
Save dholstius/3171295 to your computer and use it in GitHub Desktop.
#AirQualityEgg Chicago Meetup
# Uncomment these lines to get started
# install(devtools)
# require(devtools)
# install_github('cosm', 'holstius')
require(cosm)
key <- 'YoQHIdrFCPkYfYHfzEfWKM6RrjKSAKxCOHRRMWNiSmtsRT0g' # read-only, for meetup
feed <- 23706 # Chicago, IL (AirNow)
feed_detail(feed, key)
z <- feed_history(feed, key, duration='12hours')
plot(z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment