Plamen Dimitrov
2014-08-11 07:46:18 UTC
Hello,
I spent the past few months implementing an R package that makes it
possible to directly import and work with RRD files in R.
There are currently three ways to use the package:
- importRRD("filename", "cf", start, stop, step) - returns a data.frame
containing the desired portion of an RRA
- importRRD('filename") - imports everything in the RRD file into a list of
data.frame objects (one per RRA)
(the metadata is read and appropriate names are given to columns and list
elements)
- getVal("filename", "cf", step, timestamp) - optimized for getting the
values at a specific timestamp, uses a cache to minimize the read frequency
Please, feel free to install and test the package: https://github.com/
pldimitrov/Rrd
I'm now getting close to finishing it so any feedback is more than welcome!
Thanks,
Plamen
I spent the past few months implementing an R package that makes it
possible to directly import and work with RRD files in R.
There are currently three ways to use the package:
- importRRD("filename", "cf", start, stop, step) - returns a data.frame
containing the desired portion of an RRA
- importRRD('filename") - imports everything in the RRD file into a list of
data.frame objects (one per RRA)
(the metadata is read and appropriate names are given to columns and list
elements)
- getVal("filename", "cf", step, timestamp) - optimized for getting the
values at a specific timestamp, uses a cache to minimize the read frequency
Please, feel free to install and test the package: https://github.com/
pldimitrov/Rrd
I'm now getting close to finishing it so any feedback is more than welcome!
Thanks,
Plamen