update_station_locations: Update bomrang Internal Databases with Latest BOM Station...

Description Usage Details Value Author(s) References Examples

View source: R/update_station_locations.R

Description

Download the latest station locations and metadata and update bomrang's internal databases that support the use of get_current_weather get_ag_bulletin and get_historical. There is no need to use this unless you know that a station exists in BOM's database that is not available in the databases distributed with bomrang. In fact, for reproducibility purposes, users are discouraged from using this function.

Usage

1

Details

If ASGS.foyer is installed locally, this function will automatically check and correct any invalid state values for stations located in Australia. If ASGS.foyer is not installed, the function will update the internal database without validating the state values for stations by reported lon/lat location.

Value

Updated internal databases of BOM station locations and JSON URLs

Author(s)

Adam H Sparks, [email protected]

References

Station location and other metadata are sourced from the Australian Bureau of Meteorology (BOM) webpage, Bureau of Meteorology Site Numbers:
http://www.bom.gov.au/climate/cdo/about/site-num.shtml

Examples

1
2
3
4
## Not run: 
update_station_locations()

## End(Not run)

bomrang documentation built on Sept. 12, 2018, 9:03 a.m.