bomrang (version 0.6.0)

update_station_locations: Update Internal Databases with Latest BOM Station Metadata

Description

Download the latest station locations and metadata and update 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

update_station_locations()

Arguments

Value

Updated internal databases of BOM station locations and JSON URLs

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.

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

Run this code
# NOT RUN {
update_station_locations()
# }

Run the code above in your browser using DataCamp Workspace