Learn R Programming

crn (version 1.1)

Downloads and Builds datasets for Climate Reference Network

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

Copy Link

Version

Install

install.packages('crn')

Monthly Downloads

29

Version

1.1

License

GPL (>= 2)

Maintainer

Last Published

August 2nd, 2012

Functions in crn (1.1)

writeDataset

Create and save to disk a single variable dataset
downloadCRN

A function to download all the CRN files
collateDaily

collates individual daily files for multiple stations
CRN.DAILY.URL

URL of the daily data collection
crn-package

Climate Reference Network datatools
colnamesDaily

column names for the daily data files
colnamesHourly

column names for the hourly data files
collateHourly

collates individual hourly files for multiple stations
HOURLY_DIR

Directory for Hourly data
DAILY_DIR

Directory for downloaded files of daily data
CRN.HOURLY.URL

URL of the hourly data collection
getUrlsCRN

a function called internally, gets urls
HOURS

Collection of hours in a day. A chron object