R/station_coverage.R
station_coverage.Rd
Get a tibble of information on which additional data fields a particular station has during a specified year range.
station_coverage( station_id, years = NULL, wide_tbl = FALSE, grouping = NULL, local_file_dir = NULL )
station_id | A station identifier composed of the station's USAF and WBAN numbers, separated by a hyphen. |
---|---|
years | The years for which station met data will be collected. If not specified then all records for all available years will be obtained for the station. |
wide_tbl | A wide table of a single row for the station can be generated
by setting this to |
grouping | An option to group and summarize counts of observations by
|
local_file_dir | Path to local meteorological data files. If specified, then data files will be downloaded to and retrieved from this location and not from the remote data store. |
A tibble.
if (FALSE) { # Obtain a coverage report of the # additional data that the met # station with the ID value of # "999999-63897" has over a two- # year period met_data <- station_coverage( station_id = "999999-63897", years = 2013:2014 ) }