read_csi_dat | R Documentation |
Reads and parses the header of a processed data file as output by the PC400 or PC200W programmes extracting variable names, units and quantities from the header. Uses the comment attribute to store the metadata.
read_csi_dat(
file,
geocode = NULL,
label = NULL,
data_skip = 0,
n_max = Inf,
locale = readr::default_locale(),
na = c("", "NA", "NAN"),
...
)
file |
Path to file as a character string. |
geocode |
A data frame with columns |
label |
character string, but if |
data_skip |
integer Number of records (rows) to skip from the actual data block. |
n_max |
integer Maximum number of records to read. |
locale |
The locale controls defaults that vary from place to place. The
default locale is US-centric (like R), but you can use
|
na |
character Vector of strings to interpret as missing values. Set this option to character() to indicate no missing values. |
... |
Further named arguments currently passed to |
read_csi_dat()
returns a tibble::tibble
object.
This function is not useful for .DAT and .PRN files from old CSI loggers and software. Those were simple files, lacking metadata, which was stored in separate .FLD files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.