Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

crn (version 1.0)

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

Copy Link

Version

Install

install.packages('crn')

Monthly Downloads

10

Version

1.0

License

GPL (>= 2)

Maintainer

Steven Mosher

Last Published

September 21st, 2011

Functions in crn (1.0)

DAILY_DIR

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

URL of the hourly data collection
HOURS

Collection of hours in a day. A chron object
HOURLY_DIR

Directory for Hourly data
collateHourly

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

URL of the daily data collection
downloadCRN

A function to download all the CRN files
writeDataset

Create and save to disk a single variable dataset
colnamesHourly

column names for the hourly data files
getUrlsCRN

a function called internally, gets urls
collateDaily

collates individual daily files for multiple stations
colnamesDaily

column names for the daily data files
crn-package

Climate Reference Network datatools