Description Usage Arguments Details References Examples
Download climate data from begin
:end
station
is provided by Station.ID in stations.csv
timeframe
is either "hourly"
, "daily"
, or "monthly"
1 2 | download.ClimateData(station, begin, end, timeframe = c("hourly",
"daily", "monthly"), method = c("curl", "wget"))
|
station |
to download |
begin |
year |
end |
year |
timeframe |
of station/datastream |
method |
curl or wget |
wget is the supported utility but curl works fine and is more accessible on all systems
ftp://client_climate@ftp.tor.ec.gc.ca/Pub/Get_More_Data_Plus_de_donnees/Readme.txt ftp://ftp.tor.ec.gc.ca/Pub/Get_More_Data_Plus_de_donnees/Station%20Inventory%20EN.csv
1 2 3 4 | # Station 51423 is KAMLOOPS A
begin <- 2014
end <- 2017
df <- download.ClimateData(51423, begin, end, "hourly", "curl")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.