crn: Downloads and Builds datasets for Climate Reference Network

Share:

The crn package provides the core functions required to download and format data from the Climate Reference Network. Both daily and hourly data are downloaded from the ftp, a consolidated file of all stations is created, station metadata is extracted. In addition functions for selecting individual variables and creating R friendly datasets for them is provided.

Author
Steven Mosher
Date of publication
2012-08-02 04:40:52
Maintainer
Steven Mosher <moshersteven@gmail.com>
License
GPL (>= 2)
Version
1.1
URLs

View on CRAN

Man pages

collateDaily
collates individual daily files for multiple stations
collateHourly
collates individual hourly files for multiple stations
colnamesDaily
column names for the daily data files
colnamesHourly
column names for the hourly data files
CRN.DAILY.URL
URL of the daily data collection
CRN.HOURLY.URL
URL of the hourly data collection
crn-package
Climate Reference Network datatools
DAILY_DIR
Directory for downloaded files of daily data
downloadCRN
A function to download all the CRN files
getUrlsCRN
a function called internally, gets urls
HOURLY_DIR
Directory for Hourly data
HOURS
Collection of hours in a day. A chron object
writeDataset
Create and save to disk a single variable dataset

Files in this package

crn
crn/MD5
crn/R
crn/R/writeDataset.R
crn/R/Urls.R
crn/R/getUrlsCRN.R
crn/R/FileParameters.R
crn/R/downloadCRN.R
crn/R/collateHourly.R
crn/R/collateDaily.R
crn/NAMESPACE
crn/man
crn/man/writeDataset.Rd
crn/man/HOURS.Rd
crn/man/HOURLY_DIR.Rd
crn/man/getUrlsCRN.Rd
crn/man/downloadCRN.Rd
crn/man/DAILY_DIR.Rd
crn/man/CRN.HOURLY.URL.Rd
crn/man/CRN.DAILY.URL.Rd
crn/man/crn-package.Rd
crn/man/colnamesHourly.Rd
crn/man/colnamesDaily.Rd
crn/man/collateHourly.Rd
crn/man/collateDaily.Rd
crn/DESCRIPTION