View source: R/board_connect_url.R
| board_connect_url | R Documentation | 
board_connect_url() lets you build up a board from individual
vanity urls.
board_connect_url() is read only, and does not support versioning.
board_connect_url(
  vanity_urls,
  cache = NULL,
  use_cache_on_failure = is_interactive(),
  headers = connect_auth_headers()
)
connect_auth_headers(key = Sys.getenv("CONNECT_API_KEY"))
vanity_urls | 
 A named character vector of
Connect vanity URLs,
including trailing slash. This board is read only, and the best way to write to a pin
on Connect is   | 
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.  | 
use_cache_on_failure | 
 If the pin fails to download, is it ok to
use the last cached version? Defaults to   | 
headers | 
 Named character vector for additional HTTP headers (such as for
authentication). See   | 
key | 
 The Posit Connect API key.  | 
This board is a thin wrapper around board_url() which uses
connect_auth_headers() for authentication via environment variable.
Other boards: 
board_connect(),
board_folder(),
board_url()
connect_auth_headers()
board <- board_connect_url(c(
    my_vanity_url_pin = "https://pub.current.posit.team/public/great-numbers/"
))
board %>% pin_read("my_vanity_url_pin")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.