| get_sei_credentials | R Documentation |
Retrieves the stored SEI credentials for a given service_name from the keyring.
If the keyring package is missing or if retrieval fails, the function displays a
message instead of throwing an error, and returns NULL.
get_sei_credentials(service_name)
service_name |
Character string. The name of the service that identifies the SEI credentials in the keyring. |
A list containing:
username: The stored username (if any).
password: The stored password or SEI access key (if any).
extras: A list of additional parameters (if any).
Returns NULL if no credentials are found or if an error occurred.
## Not run:
creds <- get_sei_credentials("SEI_WS")
if (!is.null(creds)) {
cat("Username:", creds$username, "\n")
cat("Password:", creds$password, "\n")
cat("Extras:", "\n")
print(creds$extras)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.