Skip to content

influxdata/influxdb-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

influxdb-r

This library is not updated for InfluxDB 0.9. There are breaking changes to the API, use at your own risk.

We encourage you to submit a pull request if you have a contribution. If you make a PR please explicitly call @beckettsean to get eyes on your PR.


R library for InfluxDB. Currently only supports querying.

Install using devtools:

> if (!require(devtools))
    install.packages('devtools')
> devtools::install_github('influxdb-r', 'influxdb')

Example usage:

> library(influxdb)
> results <- influxdb_query('sandbox.influxdb.org', 9061, 'jcheng', 'xxxxxxxx', 'joetest',
    'SELECT * FROM /.*/')
$some_series
        time sequence_number             email state value
1 1386405189          802637       [email protected]    CO 191.3
2 1386405182          802636 [email protected]    NY    23

$some_series2
        time sequence_number        email state value
1 1386405625          802640 [email protected]    MA    63
> summary(results$some_series$value)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  23.00   65.08  107.20  107.20  149.20  191.30 

About

R library for InfluxDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages