load_CS_1000: Load Campbell Sci formatted logger readout. Default is setup...

View source: R/load_CS.R

load_CS_1000R Documentation

Load Campbell Sci formatted logger readout. Default is setup to work with 1000x / 3000x format.

Description

Load Campbell Sci formatted logger readout. Default is setup to work with 1000x / 3000x format.

Usage

load_CS_1000(
  path,
  datetime = "TIMESTAMP",
  timezone = "UTC",
  col_names = NA,
  skip_4_names = 1,
  skip_4_dat = 3,
  na_string = "NAN"
)

Arguments

path

A path to the data readout to be loaded.

datetime

String to be used for the datetime column.

timezone

POSIXct timezone for readout. Default to UTC so we dont have timezone conversion issue.

col_names

Vector of column names same length as number of columns in the readout.

skip_4_names

Number of lines to skip in the readout to get to column names. Default = 1.

skip_4_dat

Number of lines to skip in the readout to get data. Default = 3.

na_string

Character string that represents NULL value

Value

dataframe

Examples

ex_path <- system.file('extdata', 'treefort_1000x.dat', package = 'wxlogR')
df <- load_CS_1000(ex_path)

acebulsk/wxlogR documentation built on Dec. 22, 2024, 7:42 a.m.