writeDataset
(Package: crn) :
Create and save to disk a single variable dataset
The daily and hourly files conatin many data elements Typically one works with a single variable at time. This function allows you to create subsets of data that have one and only one variable in the file. The monolithic file, of course, can be read with read.table . This function uses read.table, but skips the columns not requested and writes out the subset of data
● Data Source:
CranContrib
● Keywords: filetools
● Alias: writeDataset
●
0 images
|
HOURS
(Package: crn) :
Collection of hours in a day. A chron object
For use with the hourly data to format the time component according to the specifications of the chron package.
● Data Source:
CranContrib
● Keywords: constants
● Alias: HOURS
●
0 images
|
HOURLY_DIR
(Package: crn) :
Directory for Hourly data
The hourly files are downloaded from the various subdirectories on the ftp and they all are downloaded to the HOURLY directory. These files are then collated into a monolithic file using collateHourly
● Data Source:
CranContrib
● Keywords: directories
● Alias: HOURLY_DIR
●
0 images
|
getUrlsCRN
(Package: crn) :
a function called internally, gets urls
The files are located in subdirectories separated by years. This function gets the file urls from a "year" directory. It is used internally
● Data Source:
CranContrib
● Keywords: filetools, internal
● Alias: getUrlsCRN
●
0 images
|
downloadCRN
(Package: crn) :
A function to download all the CRN files
The function is passed a url for daily or hourly data, a matching directory, and sequence of years to download. The function will then download all the files and place them in the right directory.
● Data Source:
CranContrib
● Keywords: filetools
● Alias: downloadCRN
●
0 images
|
DAILY_DIR
(Package: crn) :
Directory for downloaded files of daily data
The daily files are downloaded from the various subdirectories on the ftp and they all are downloaded to the DAILY directory. These files are then collated into a monolithic file
● Data Source:
CranContrib
● Keywords: directories
● Alias: DAILY_DIR
●
0 images
|
CRN.HOURLY.URL
(Package: crn) :
URL of the hourly data collection
URL to the parent directory
● Data Source:
CranContrib
● Keywords: urls
● Alias: CRN.HOURLY.URL
●
0 images
|
CRN.DAILY.URL
(Package: crn) :
URL of the daily data collection
URL to the parent directory
● Data Source:
CranContrib
● Keywords: urls
● Alias: CRN.DAILY.URL
●
0 images
|
crn-package
(Package: crn) :
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.
● Data Source:
CranContrib
● Keywords: package
● Alias: crn, crn-package
●
0 images
|
colnamesHourly
(Package: crn) :
column names for the hourly data files
These are the column names that are required for the hourly data.
● Data Source:
CranContrib
● Keywords: constants
● Alias: colnamesHourly
●
0 images
|