Description Usage Arguments Value Examples
Initialize a databox client and return a databox client object (dco)
1 | client(api_key = databox_api_key())
|
api_key |
databox API key (automatically populated if in the environment) |
databaox client object
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.