View source: R/CampbellAllImport.R
CampbellAllImport | R Documentation |
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".
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)
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 |
logger.name |
Select files from one logger only. |
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. |
Returns data frame with all imported *.dat files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.