Created
June 6, 2012 23:37
-
-
Save dholstius/2885522 to your computer and use it in GitHub Desktop.
How to fetch data points with the pachube R package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(pachube) | |
key <- 'bZW0wu4jbqMrkzHhapw8E9...' # use your API key here | |
t0 <- ISOdate(2012, 05, 23, hour=19, tz="America/Los_Angeles") | |
z <- getDatapoints(58785, 'large', key, start=t0, interval=30, duration='12hours') | |
plot(z) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment