connect | R Documentation |
Creates a connection to Posit Connect using the server URL and an api key.
connect(
server = Sys.getenv("CONNECT_SERVER", NA_character_),
api_key = Sys.getenv("CONNECT_API_KEY", NA_character_)
)
server |
The server URL for accessing Posit Connect. Defaults to environment variable CONNECT_SERVER |
api_key |
The API key to authenticate with Posit Connect. Defaults to environment variable CONNECT_API_KEY |
An Client object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.