https://github.com/cran/FedData
Raw File
Tip revision: ec6fb1cf6e009ff2cbdea0287158d33821578667 authored by R. Kyle Bocinsky on 17 March 2024, 00:40:03 UTC
version 4.0.1
Tip revision: ec6fb1c
read_crn.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ITRDB_FUNCTIONS.R
\name{read_crn}
\alias{read_crn}
\title{Read a Tucson-format chronology file.}
\usage{
read_crn(file)
}
\arguments{
\item{file}{A character string path pointing to a \code{*.crn} file to be read.}
}
\value{
A list containing the metadata and chronology.
}
\description{
This function includes improvements to the \code{read.crn} function from the
\pkg{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.
}
\details{
This wraps two other functions: \code{\link{read_crn_metadata}} \code{\link{read_crn_data}}.
}
\keyword{internal}
back to top