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

read_crn_dataR Documentation

Read chronology data from a Tucson-format chronology file.

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

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 Oct. 3, 2023, 9:07 a.m.