Description Usage Arguments Examples
View source: R/util_functions.R
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.
1 2 | showAvailableColumns(station_id, start_date, end_date = NULL,
station_type = "airportCode", opt_detailed = FALSE, opt_verbose = FALSE)
|
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 |
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) |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.