CampbellAllImport: Import several Campbell Science AgFace data logger *.dat...

View source: R/CampbellAllImport.R

CampbellAllImportR Documentation

Import several Campbell Science AgFace data logger *.dat files from a Folder

Description

Uses CampbellFileImport to import all *.dat files from a folder. Files are selected based on their log-interval that is part of their file name. Allowed intervals are "5Min", "15Min", "Hourly", "Daily".

Usage


  CampbellAllImport(logger.folder = "~/AgFace/2015/Campbell_logger/logger_data",
  log.interval = "5Min", logger.name = NA,
  time.zone = "Australia/Melbourne", checkduplicates = TRUE,
  skip.rows = NA, use.parallel = FALSE)

Arguments

logger.folder

Full path to the location of the *.dat files. Defaults to "~/AgFace/2015/Campbell_logger/logger_data"

log.interval

Select the files based on the common log interval that is specified in the filename. Allowed values are "5Min", "15Min", "Hourly", "Daily". Only one time interval is allowed.

logger.name

Select files from one logger only. logger.name has to match the System name as given in the file name. Allowed values are "SYS1", "SYS2", ..., "SYS8"

time.zone

Time zone to be used during import. Default is "Australia/Melbourne"

checkduplicates

Logical. Should duplicate rows in the data removed? Defaults to TRUE.

skip.rows

Number of rows to skip in the file to speed up file import. Numeric, defaults to NA.

use.parallel

Logical. Option to use parallel processing for the file import. Parallel-computing has to be configured before this option can be used. Defaults to FALSE.

Value

Returns data frame with all imported *.dat files.


MarkusLoew/CampbellLogger documentation built on March 22, 2022, 3:29 a.m.