CHCN-package |
A package for Building Historical Climate data for Canada |
BASE.URL |
The "base" elements of the url for scraping |
CHCN |
A package for Building Historical Climate data for Canada |
createDataset |
A function to create a dataset from csv files on disk |
createInventory |
Creates an inventory of all stations in the directory |
DATA.DIRECTORY |
Directory for the final data storage |
downloadMaster |
Download the master list of stations |
FORMAT.URL |
A string for completing the http request |
formatGhcn |
creates a 14 column dataset for output |
getEmptyCsv |
A function to check for empty Csv files |
getMissingScrape |
A function to find which scrapes need to be done |
MASTER.STATION.LIST |
Name for the local version of the master station list |
MONTHLY.STATION.LIST |
Name of the local file for Monthly stations |
readMonthlyCsv |
reads the csv file that contains all the monthly stations |
scrapeToCsv |
A function to scrape files to local csv files |
STARTING.STATION.ID |
The starting unique Id created for these stations |
STATION.URL |
url for getting master station list |
writeData |
Writes a file from a dataframe of climate data |
writeGhcn |
A simple wrapper to 'write.table' |
writeInventory |
Writes inventory data in a format usable by RghcnV3 package |
writeMonthlyStations |
Function to read the master list and write a monthly list of stations. This file is critical to the operation of the scraper. |
YEAR.URL |
A string for making the http request |