readCCC: (Calibration Performance) Import checkCCC Files

Description Usage Arguments Details Value Examples

Description

Import one or more checkCCC output files into a list.

Usage

1
2
readCCC(filepath, data.types = c("AEQ", "cohort", "termrun", "escape"),
  stocks.key = NA, startingyear = 1, finalyear = 9999)

Arguments

filepath

A character vector of the csv files output from checkCCC program. See details

data.types

See details

stocks.key

See details

startingyear

An integer.

finalyear

An integer. The final (4 digit) year to be included from all series imported. Default is 9999, meaning all years before 9999.

Details

Need details.

Value

A list, with one element per CCC (calibration) file.

Examples

1
2
3
4
5
6
7
## Not run: 
### read in checkCCC files ###
filename <- list.files(data.pathname, pattern = "CCC")
filepath <- paste(data.pathname,  filename, sep='/')
ccc.list <- sapply(filepath, readCCC, USE.NAMES = FALSE)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.