showAvailableColumns: Shows all the available Weather Data Columns

Description Usage Arguments Examples

Description

Displays all the columns that are available in the website, for the given station, and date range. Useful when only a subset of the columns are desired. Those can be specfied using the custom_columns vector. Note: There are different columns available for summarized vs. detailed data. Be sure toturn the opt_detailed flag to be TRUE if multiple records per day is desired.

Usage

1
2
showAvailableColumns(station_id, start_date, end_date = NULL,
  station_type = "airportCode", opt_detailed = FALSE, opt_verbose = FALSE)

Arguments

station_id

is a valid 3-letter airport code or a valid Weather Station ID

start_date

string representing a date in the past ("YYYY-MM-DD")

end_date

string representing a date in the past ("YYYY-MM-DD"), and later than or equal to start_date.

station_type

can be airportCode which is the default, or it can be id which is a weather-station ID

opt_detailed

Boolen flag to indicate if detailed records for the station are desired. (default FALSE). By default only one record per date is returned.

opt_verbose

Boolean flag to indicate if verbose output is desired (default FALSE)

Examples

1
2
3
4
5
6
7
## Not run: 
showAvailableColumns("NRT", "2014-04-04")

#if you want to see the columns for the *detailed* weather, turn on opt_detailed
showAvailableColumns("CDG", "2013-12-12", opt_detailed=T)

## End(Not run)

Ram-N/weatherData documentation built on May 8, 2019, 8:05 a.m.