FedData (version 2.0.8)

read_crn: Read 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. This function automatically recognizes Schweingruber-type files.

Usage

read_crn(file)

Arguments

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

Value

A list containing the metadata and chronology.

Details

This wraps two other functions: read_crn_metadata read_crn_data.