R/get_station_metadata.R
get_station_metadata.Rd
Obtain a tibble containing information on all of the stations that have data.
get_station_metadata()
Returns a tibble with 16 columns.
A character string that is a unique identifier for the weather station.
A character string identifying the fixed weather station from the USAF Master Station Catalog. USAF is an acronym for United States Air Force.
A character string for the fixed weather station NCDC WBAN identifier. NCDC is an acronym for National Climatic Data Center. WBAN is an acronym for Weather Bureau, Air Force and Navy.
A character string with the station name.
A character string with the two character country
code where the station is located. Not identical to country_code
.
Character string of the two character abbreviation of a US state (when applicable).
The ICAO identifier for the station.
Latitude (degrees) rounded to three decimal places.
Longitude (degrees) rounded to three decimal places.
Numeric value for the elevation as measured in meters.
The minimum value is -400 with a maximum of 8850. Elevation in feet
can be approximated by elev * 3.28084
The earliest date for which data are available.
The latest date for which data are available.
The earliest year for which data are available.
The latest year for which data are available.
The time zone name.
# Obtain a data frame with all available met stations get_station_metadata()#> # A tibble: 29,743 x 16 #> id usaf wban name country state icao lat lon elev begin_date #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> <date> #> 1 0070… 0070… 99999 WXPO… <NA> <NA> <NA> 0 0 7018 2011-03-09 #> 2 0070… 0070… 99999 WXPO… AF <NA> <NA> 0 0 7026 2012-07-13 #> 3 0070… 0070… 99999 WXPO… AF <NA> <NA> 0 0 7070 2014-09-23 #> 4 0082… 0082… 99999 WXPO… <NA> <NA> <NA> 0 0 0 2005-01-01 #> 5 0082… 0082… 99999 WXPO… AF <NA> <NA> 32.9 65.6 1157. 2010-05-19 #> 6 0083… 0083… 99999 WXPO… AF <NA> <NA> 0 0 8318 2010-04-21 #> 7 0084… 0084… 99999 XM20 <NA> <NA> <NA> NA NA NA 2016-02-17 #> 8 0084… 0084… 99999 XM18 <NA> <NA> <NA> NA NA NA 2016-02-16 #> 9 0084… 0084… 99999 XM21 <NA> <NA> <NA> NA NA NA 2016-02-17 #> 10 0084… 0084… 99999 XM24 <NA> <NA> <NA> NA NA NA 2016-02-17 #> # … with 29,733 more rows, and 5 more variables: end_date <date>, #> # begin_year <int>, end_year <int>, tz_name <chr>, years <list>