read_crn_data: Read chronology data from a Tucson-format chronology file.

Description Usage Arguments Value

View source: R/ITRDB_FUNCTIONS.R

Description

This function includes improvements to the read_crn function from the dplR library. The principle changes are better parsing of metadata, and support for the Schweingruber-type Tucson format. Chronologies that are unable to be read are reported to the user. The user (or read_crn) must tell the function whether the file is a Schweingruber-type chronology.

Usage

1
read_crn_data(file, SCHWEINGRUBER)

Arguments

file

A character string path pointing to a *.crn file to be read.

SCHWEINGRUBER

Is the file in the Schweingruber-type Tucson format?

Value

A data.frame containing the data, or if SCHWEINGRUBER==T, a list containing four types of data.


FedData documentation built on May 1, 2019, 11:31 p.m.