Climate Reference Network datatools

Share:

Description

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 consoliated 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.

Details

Package: crn
Type: Package
Version: 1.1
License: GPL (>=2)
LazyLoad: yes
LazyData: FALSE

basic operations

The package provides the basic functions to download and organize CRN data into R friendly datastructures. The first function that should be used is downloadCRN, That function downloads either daily or hourly data depending on the variables you pass it. Next, collateDaily and collateHourly should be run. Finally, writeDataset is used to create files with individual variables in them.

Author(s)

Steven Mosher

Maintainer: Steven Mosher <moshersteven@gmail.com>

References

ftp://ftp.ncdc.noaa.gov/pub/data/uscrn/ ftp://ftp.ncdc.noaa.gov/pub/data/uscrn/products/

Examples

1
2
3
4
5
6
 ## Not run: 
   downloadCRN()
   collateDaily()
   collateHourly()
 
## End(Not run)