Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

update_station_list

Download latest station list metadata and update internal database


Description

This function downloads the latest station list (isd-history.csv) from the NCEI server and updates the data distributed with GSODR to the latest stations available. These data provide unique identifiers, country, state (if in U.S.) and when weather observations begin and end.

Usage

update_station_list()

Details

Care should be taken when using this function if reproducibility is necessary as different machines with the same version of GSODR can end up with different versions of the isd_history.csv file internally.

There is no need to use this unless you know that a station exists in the isd_history.csv file that is not available in GSODR's self-contained database.

To directly access these data, use:
load(system.file("extdata", "isd_history.rda", package = "GSODR"))

Author(s)

Adam H. Sparks, adamhsparks@gmail.com

Examples

## Not run: 
update_station_list()

## End(Not run)

GSODR

Global Surface Summary of the Day ('GSOD') Weather Data Client

v3.1.0
MIT + file LICENSE
Authors
Adam H. Sparks [aut, cre] (<https://orcid.org/0000-0002-0061-8359>), Tomislav Hengl [aut] (<https://orcid.org/0000-0002-9921-5129>), Andrew Nelson [aut] (<https://orcid.org/0000-0002-7249-3778>), Hugh Parsonage [cph, ctb] (<https://orcid.org/0000-0003-4055-0835>), Taras Kaduk [ctb] (Suggestion for handling bulk station downloads more efficiently), Gwenael Giboire [ctb] (Several bug reports in early versions and testing feedback), Łukasz Pawlik [ctb] (Reported bug in windspeed conversion calculation), Ross Darnell [ctb] (Reported bug in 'Windows OS' versions causing 'GSOD' data untarring to fail, <https://orcid.org/0000-0002-7973-6322>), Tyler Widdison [ctb] (Reported bug where `nearest_stations()` did not return stations in order of nearest to farthest.)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.