<div dir="ltr"><div class="gmail_default" style="font-size:x-small">Hello,<br><br>I spent the past few months implementing an R package that makes it possible to directly import and work with <span tabindex="-1" id=":1m0.1" style class="">RRD</span> files in R.<br>
<br>There are currently three ways to use the package:<br><br>- <span tabindex="-1" id=":1m0.2" style class="">importRRD</span>(&quot;<span tabindex="-1" id=":1m0.3" style class="">filename</span>&quot;, &quot;cf&quot;, start, stop, step) - returns a data.frame containing the desired portion of an <span tabindex="-1" id=":1m0.4" style class="">RRA</span><br>
- <span tabindex="-1" id=":1m0.5" style class="">importRRD</span>(&#39;filename&quot;) - imports everything in the <span tabindex="-1" id=":1m0.6" style class="">RRD</span> file into a list of data.frame objects (one per <span tabindex="-1" id=":1m0.7" style class="">RRA</span>)<br>
<br>(the <span tabindex="-1" id=":1m0.8" style class="">metadata</span> is read and appropriate names are given to columns and list elements)<br><br>- <span tabindex="-1" id=":1m0.9" style class="">getVal</span>(&quot;<span tabindex="-1" id=":1m0.10" style class="">filename</span>&quot;, &quot;cf&quot;, step, timestamp) - optimized for getting the values at a specific timestamp, uses a cache to minimize the read frequency<br>
<br>Please, feel free to install and test the package: https://<span tabindex="-1" id=":1m0.11" style class="">github</span>.com/<span tabindex="-1" id=":1m0.12" style class="">pldimitrov</span>/<span tabindex="-1" id=":1m0.13" style class="">Rrd</span><br>
<br>I&#39;m now getting close to finishing it so any feedback is more than welcome!<br><br>Thanks,<br><span tabindex="-1" id=":1m0.14" style class="">Plamen</span><br></div></div>