CHCN: Canadian Historical Climate Network

Share:

A compilation of historical through contemporary climate measurements scraped from the Environment Canada Website Including tools for scraping data, creating metadata and formating temperature files.

Author
Steven Mosher
Date of publication
2012-06-08 18:23:46
Maintainer
Steven Mosher <moshersteven@gmail.com>
License
GPL (>= 2)
Version
1.5
URLs

View on CRAN

Man pages

BASE.URL
The "base" elements of the url for scraping
CHCN-package
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
formatGhcn
creates a 14 column dataset for output
FORMAT.URL
A string for completing the http request
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
readLocalMaster
A function to read a local copy of the master csv file
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...
YEAR.URL
A string for making the http request

Files in this package

CHCN
CHCN/MD5
CHCN/R
CHCN/R/writeMonthlyStations.R
CHCN/R/writeInventory.R
CHCN/R/writeGhcn.R
CHCN/R/writeData.R
CHCN/R/Url.R
CHCN/R/scrapeToCsv.R
CHCN/R/readMonthlyCsv.R
CHCN/R/readLocalMaster.R
CHCN/R/getMissingScrape.R
CHCN/R/getEmptyCsv.R
CHCN/R/formatGhcn.R
CHCN/R/downloadMaster.R
CHCN/R/createInventory.R
CHCN/R/createDataset.R
CHCN/NAMESPACE
CHCN/man
CHCN/man/YEAR.URL.Rd
CHCN/man/writeMonthlyStations.Rd
CHCN/man/writeInventory.Rd
CHCN/man/writeGhcn.Rd
CHCN/man/writeData.Rd
CHCN/man/STATION.URL.Rd
CHCN/man/STARTING.STATION.ID.Rd
CHCN/man/scrapeToCsv.Rd
CHCN/man/readMonthlyCsv.Rd
CHCN/man/readLocalMaster.Rd
CHCN/man/MONTHLY.STATION.LIST.Rd
CHCN/man/MASTER.STATION.LIST.Rd
CHCN/man/getMissingScrape.Rd
CHCN/man/getEmptyCsv.Rd
CHCN/man/formatGhcn.Rd
CHCN/man/FORMAT.URL.Rd
CHCN/man/downloadMaster.Rd
CHCN/man/DATA.DIRECTORY.Rd
CHCN/man/createInventory.Rd
CHCN/man/createDataset.Rd
CHCN/man/CHCN-package.Rd
CHCN/man/BASE.URL.Rd
CHCN/inst
CHCN/inst/external
CHCN/inst/external/MonthlyStations.Env.csv
CHCN/inst/external/EnvCanadaMaster.csv
CHCN/DESCRIPTION
CHCN/demo
CHCN/demo/CreateCHCN.R
CHCN/demo/00Index