Created
June 6, 2012 23:37
-
-
Save dholstius/2885519 to your computer and use it in GitHub Desktop.
How to fetch datapoints with the pachube R package
This file contains 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
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