Description Usage Arguments Details Value Examples
A function to extract daily data from the BOM website.
1 | bomDailyObs(siteNumber, observation = "max_temp",...)
|
siteNumber |
Either numeric without leading 0, or character with leading 0 of the site number. |
observation |
The type of observation desired. Options are; max_temp,min_temp, solar, rain. |
... |
Additional commands for the RCurl package. |
The possible values are maximum daily temp, solar exposure and rainfall. This function makes a request to the BOM website for the requested data. If the site and the type of data is available then a second request is made for a zip file of the data. The zip file is downloaded and unziped and loaded into R.
|
A data.frame containing the returned values. |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
siteNumber <- 066062
siteNumber
data <-bomDailyObs(siteNumber,observation="rain")
head(data)
siteNumber <- "066062"
data <-bomDailyObs(siteNumber,observation="solar")
head(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.