The http request is made to Enviroment Canada using a URL that consists of a "base" element, a station Id, a year and a format.
The format is: chr "http://climate.weatheroffice.gc.ca/climateData/ bulkdata_e.html?timeframe=3&Prov=XX&StationID="
The base is used to construct the final http request. The various elements are pasted together.
The request format was passed from Enviroment Canada via email and verified by performing sample downloads.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.