Last data update: 2014.03.03

R: The "base" elements of the url for scraping
BASE.URLR Documentation

The "base" elements of the url for scraping

Description

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.

Usage

 BASE.URL 

Format

The format is: chr "http://climate.weatheroffice.gc.ca/climateData/ bulkdata_e.html?timeframe=3&Prov=XX&StationID="

Details

The base is used to construct the final http request. The various elements are pasted together.

Source

http://climate.weatheroffice.gc.ca

References

The request format was passed from Enviroment Canada via email and verified by performing sample downloads.

Results