A function to read a local copy of the master csv file
A simple wrapper to write.table
A function to find which scrapes need to be done
A function to create a dataset from csv files on disk
Writes inventory data in a format usable by RghcnV3 package
Name for the local version of the master station list
A package for Building Historical Climate data for Canada
A string for completing the http request
A string for making the http request
The starting unique Id created for these stations
url for getting master station list
A function to check for empty Csv files
Download the master list of stations
A function to scrape files to local csv files
Creates an inventory of all stations in the directory
creates a 14 column dataset for output
Function to read the master list and write a monthly
list of stations. This file is critical to the operation
of the scraper.
Directory for the final data storage
reads the csv file that contains all the monthly stations
Name of the local file for Monthly stations
The "base" elements of the url for scraping
Writes a file from a dataframe of climate data