Description Usage Arguments Value Examples
read data from Bigstream storage via Bigstream storage API
1 2 3 | storage.read(storage.name, field = c("all", "data", "id", "meta", "_data",
"_id", "_meta"), from = 1, offset = NULL, last = 0, limit = 10,
flatten = TRUE)
|
storage.name |
storage name |
field |
Specify object output "id","meta" or "data" |
from |
start from object index default is 1 |
offset |
Lookup data after given object id |
last |
number of lastest data to read (overwrite "from" arguments) |
limit |
limit object output |
flatten |
return flatten Data.frame or return JSON if option is FALSE |
data from Bigstream storage
1 2 3 4 5 6 7 8 | ## Not run:
host <- "http://sample.bigstream.io"
storage_name <- "sample.sensordata"
token <- "token"
bs.connect(host, token)
storage.read(storage_name)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.