Learn R Programming

FedData (version 4.0.1)

read_crn_metadata: Read metadata 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_metadata(file, SCHWEINGRUBER)

Value

A data.frame containing the metadata.

Arguments

file

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

SCHWEINGRUBER

Is the file in the Schweingruber-type Tucson format?

Details

Location information is converted to decimal degrees.