Description Usage Arguments Value References Examples
Push metrics to databox
1 | push(dco)
|
dco |
databaox client object created by |
dco
with an empty data
slot (i.e. you can use this for more
pipes/calls without fear of duplicating values)
https://developers.databox.com/api/
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
databox::client() %>%
add_metric("sales", 83000, Sys.Date()) %>%
add_metric("sales", 4000, unit="USD") %>%
add_metric("expenses", 87500) %>%
add_metric("sales", 123000,
mattrs=c("channel"="in-person",
"cheese"="manchego")) %>%
push()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.