CHCN (version 1.5)

downloadMaster: Download the master list of stations

Description

This function simply downloads the master list and gives it a name that other functions rely on

Usage

downloadMaster(url = STATION.URL, localFile = MASTER.STATION.LIST)

Arguments

url
the url for the csv file that contains all the stations
localFile
A local filename to write this data to

Value

Details

The function downloads the output of a scraper written by DrJ of clearclimatecode. That scraper is found here: http://scraperwiki.com/scrapers/can-weather-stations/ It scrapes the main page at Enviroment Canada and deposits a csv file containing all the information needed to data scrape

References

http://scraperwiki.com/scrapers/can-weather-stations/