Learn R Programming

stationaRy (version 0.5.1)

get_station_metadata: Get a table of metadata for meteorological stations

Description

Obtain a tibble containing information on all of the stations that have data.

Usage

get_station_metadata()

Arguments

Value

Returns a tibble with 16 columns.

id

A character string that is a unique identifier for the weather station.

usaf

A character string identifying the fixed weather station from the USAF Master Station Catalog. USAF is an acronym for United States Air Force.

wban

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.

name

A character string with the station name.

country

A character string with the two character country code where the station is located. Not identical to country_code.

state

Character string of the two character abbreviation of a US state (when applicable).

icao

The ICAO identifier for the station.

lat

Latitude (degrees) rounded to three decimal places.

lon

Longitude (degrees) rounded to three decimal places.

elev

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

begin_date

The earliest date for which data are available.

end_date

The latest date for which data are available.

begin_year

The earliest year for which data are available.

end_year

The latest year for which data are available.

tz_name

The time zone name.

Examples

Run this code
# NOT RUN {
# Obtain a data frame with all available met stations
get_station_metadata()

# }

Run the code above in your browser using DataLab