select_sounding_station: Search for and select a sounding station

Description Usage Arguments Examples

Description

Filter and select a sounding station from a larger collection.

Usage

1
2
3
4
5
6
select_sounding_station(stations_df, id_by_wban_wmo = NULL,
  search_station_name = NULL, search_init = NULL, search_wban = NULL,
  search_wmo = NULL, search_prov_state = NULL, search_country = NULL,
  lower_lat = NULL, upper_lat = NULL, lower_lon = NULL,
  upper_lon = NULL, lower_elev = NULL, upper_elev = NULL,
  print_stations = TRUE)

Arguments

stations_df

a data frame containing identification and location parameters for sounding stations.

id_by_wban_wmo

using the combination of WBAN and WMO numbers (with a string in the form of 'XXXXX-YYYYY' in the order of WBAN and WMO), it is possible to uniquely identify a sounding station. When searching with this keyword, all other arguments for which values were supplied will be disregarded.

search_station_name

supplying search text in the form of a string will filter the list of available sounding stations and provide feedback on which stations were found. When searching with this keyword, all other arguments for which values were supplied will be disregarded.

search_init
search_wban
search_wmo
search_prov_state
search_country
lower_lat
upper_lat
lower_lon
upper_lon
lower_elev
upper_elev
print_stations

if set to TRUE, a returned data frame with 100 or less entries will be printed to the console.

Examples

1
2
3
4
5
## Not run: 
# Get a subset of sounding stations in Canada
sounding_station_subset <- select_sounding_station(search_country = CA)

## End(Not run)

rich-iannone/aetheRa documentation built on May 27, 2019, 7:58 a.m.