write: Write data

Description Arguments Value Methods Examples

Description

Write data

Arguments

name

(character) A database name

data

data to write

...

Further args passed on to POST

Value

Logical or a list, see Methods for what each returns

Methods

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# make a client
(cli <- flux())

# create a database
cli$db_create(name = "thoughts")

# write data
x <- 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'
cli$write(name = "thoughts", data = x, config = verbose())

## End(Not run)

sckott/fluxy documentation built on May 29, 2019, 4 p.m.