nrp_read_ctd: Read CTD Files

View source: R/ctd.R

nrp_read_ctdR Documentation

Read CTD Files

Description

Read CTD Files

Usage

nrp_read_ctd(
  path = ".",
  db_path = getOption("nrp.db_path", file.choose()),
  recursive = FALSE,
  regexp = "[.]cnv$",
  fail = TRUE,
  lookup = nrp::site_date_lookup
)

Arguments

path

A string of the path to the directory.

db_path

The SQLite connection object or path to the SQLite database

recursive

(Deprecated) If TRUE recurse fully.

regexp

A regular expression (e.g. ⁠[.]csv$⁠) passed on to grep() to filter paths.

fail

Should the call fail (the default) or warn if a file cannot be accessed.

lookup

The lookup table for assigning site names/dates (used when reading files that cannot be read by oce package). this defaults to a dataset provided with the package that is used for reading historical data

Value

A tibble.


poissonconsulting/nrp documentation built on Jan. 28, 2024, 4:14 p.m.