downloadMaster {CHCN}R Documentation

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

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

Value

The function downloads a csv file and writes a local version

Author(s)

Steven Mosher

References

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


[Package CHCN version 1.5 Index]