Description Usage Arguments Value Examples
read data from Bigstream storage via Bigstream storage API This command support on Bigstream version 1.2 or more only
| 1 2 | storage.getFileUrl(storage_name, id = NULL, index = NULL, key = NULL,
  type = "dat")
 | 
| storage_name | storage name | 
| id | Object id | 
| index | get data by index | 
| key | get data by defined key in storage | 
| type | file format return default is csv | 
url for download object
| 1 2 3 4 5 6 7 8 9 10 11 | ## Not run: 
host <- "http://sample.bigstream.io"
storage_name <- "sample.sensordata"
token <- "token"
bs.connect(host, token)
#return lastest data as csv
url <- storage.getFileUrl(storage_name)
read.csv(url, header=FALSE, sep="|")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.