if (FALSE) { # interactive()
# These will return climate data for all stations that include the place string in their name.
get_climatedata("squamish",1980,"monthly")
get_climatedata("toronto",1980,"daily")
# In order to get a specific station you can use its station id (see chcd::get_station())
get_climatedata(337, 1980, "m")
# Can also support lists of places and years
get_climatedata("squamish", c(1980:1985), "m")
get_climatedata(c("squamish","whistler"), 1990, "m")
get_climatedata(c(337,338,339), c(1974:1975), "daily")
}
Run the code above in your browser using DataLab