View source: R/legacy_dospaces.R
legacy_dospace | R Documentation |
legacy_dospace(
space = Sys.getenv("DO_SPACE"),
key = Sys.getenv("DO_ACCESS_KEY_ID"),
secret = Sys.getenv("DO_SECRET_ACCESS_KEY"),
datacenter = Sys.getenv("DO_DATACENTER"),
cache = NULL,
host = "digitaloceanspaces.com",
name = "dospace",
...
)
board_register_dospace(
name = "dospace",
space = Sys.getenv("DO_SPACE"),
key = Sys.getenv("DO_ACCESS_KEY_ID"),
secret = Sys.getenv("DO_SECRET_ACCESS_KEY"),
datacenter = Sys.getenv("DO_DATACENTER"),
cache = NULL,
host = "digitaloceanspaces.com",
path = NULL,
...
)
space |
The name of the DigitalOcean space. |
key , secret |
The key and secret for your space. You can create a key and secret in the "Spaces access keys" in your API settings. The |
datacenter |
The datacenter name. |
cache |
Cache path. Every board requires a local cache to avoid downloading files multiple times. The default stores in a standard cache location for your operating system, but you can override if needed. |
host |
The host to use for storage, defaults to |
name |
An optional name used identify the board. This is no longer generally needed since you should be passing around an explicit board object. |
... |
Additional parameters required to initialize a particular board. |
path |
Subdirectory within |
To use DigitalOcean Spaces as a board, you first need an DigitalOcean space and a storage key. You can sign-up and create those at digitalocean.com.
## Not run:
# the following example requires a DigitalOcean Spaces API key
board <- legacy_dospace(bucket = "s3bucket")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.