Description Usage Arguments Value Examples
This function utilizes the kNStation() function to find the k-nearest stations, and downloads all the data for those stations in between a given date range (in years).
1 | getStationsByCity(city.list, station.list, k = 5, begin, end)
|
city.list |
City of list of Cities. The format should be as follows: "City, State", or "City, Country" |
station.list |
Full list of ISD stations included in the package |
k |
The number of stations to return |
begin |
Start year (4 digits) |
end |
End year (4 digits) |
Returns a list of two items.
1) Status of downloading each year's data for each station 2) A list of dataframes. Each dataframe is all years data of a particular station.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.