bomMonthlyObs: A BOM monthly observation extractor.

Description Usage Arguments Details Value Examples

Description

A function to extract daily data from the BOM website.

Usage

1
bomMonthlyObs(siteNumber, observation = "mean_max_temp",...)

Arguments

siteNumber

Either numeric without leading 0, or character with leading 0 of the site number.

observation

The type of observation desired. Options are; observation must be; mean_max_temp, mean_min_temp, highest_temp, lowest_temp, highest_min_temp, rain or solar.

...

Additional commands for the RCurl package.

Details

The possible values are maximum monthly temp, solar exposure and rainfall. This function makes a request to the server and then reads the displayed values in two table

Value

monthly

A data.frame containing the returned monthly values.

summaryStats

A table of summary statistics for the site.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
siteNumber <- 066062
siteNumber
data <-bomMonthlyObs(siteNumber,observation="rain")
names(data)
names(data$monthly)
plot(data$monthly$observation,type="h")
data$summaryStats

## End(Not run)

johnDorian/BOMdataRipper documentation built on May 19, 2019, 3:02 p.m.