This R package provides rudimentary methods to deal with data formats (TOA5, CSIXML, and read-only TOB1 for now) used by LoggerNet software from Campbell Scientific.
library(csdf)
Sys.setenv(TZ='GMT')
fpath <- system.file("extdata", "Station_Daily.dat", package="csdf")
obj <- read.toa5(fpath)
summary(obj)
grid::grid.draw( plot(obj) )
plot(`AirT_Max` ~ time,
within(obj@data, {
time <- as.POSIXct(strftime(AirT_TMx, "%H:%M:%S"), format="%H:%M:%S")
}))
write.toa5(obj, "elsewhere.dat")
write.csv(as.data.frame(obj), "plain.csv")
Have devtools package installed first with
install.packages("devtools")
Then install this package from GitHub using
devtools::install_github("mlt/csdf")
If you are on MS Windows and have no RTools installed, you may try to install one of the prebuilt binaries from AppVeyor CI platform like
install.packages("https://github.com/mlt/csdf/releases/download/0.1.0/csdf_0.1.0.zip", repos=NULL)
You can find all available tagged releases on the corresponding tab https://github.com/mlt/csdf/releases.
The source code for this R package is released under AGPL-3 (or later) license.
This software is not endorsed by Campbell Scientific. All names and trademarks are mentioned here for reference only. They are the property of their respective owners.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.