Climate Reference Network datatools
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.
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.
collateHourly should be run.
writeDataset is used to create files with individual
variables in them.
## Not run: # downloadCRN() # collateDaily() # collateHourly() # ## End(Not run)