hcd_url | R Documentation |
Form URLs to requested Canadian Historical Climate Data records.
hcd_url(station, timescale = c("monthly", "daily", "hourly"), year, month)
station |
character; one or more HCD station IDs. |
timescale |
character; the timescale of the requested Historical Climate Data records. |
year |
numeric; vector of one or more years. Needed for daily or hourly data only. |
month |
numeric; vector of one or months. Needed for hourly data only. |
A character vector containing URLs for the requested stations and time scales.
Gavin L. Simpson
urls <- hcd_url(c(2855, 1707), timescale = "monthly")
urls
head(urls$url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.