Description Usage Arguments Value Examples
This function uses the reim
package to load Winnipeg
weather abstracting station names. Measurements can be
converted to metric using meathermetrics
.
1 2 3 4 5 6 | get_weather(
station = c("wpg", "forks", "airport"),
start = as.character(Sys.Date() - 365),
end = as.character(Sys.Date()),
metric = TRUE
)
|
station |
a Winnipeg weather station name in English |
start |
the start date of the weather period |
end |
the end date of the weather period |
metric |
whether the output should be in metric |
hourly Winnipeg weather data set including precipitation and temperature
1 2 3 4 5 6 7 8 9 | ## Not run:
get_weather(station = "forks",
start = '2018-01-01',
end = '2018-02-28',
metric = TRUE)
get_weather(station = "airport",
start = '2018-01-01')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.