| set_api_key | R Documentation |
Stores the OMOPHub API key in the specified location.
set_api_key(key, store = c("env", "keyring"))
key |
The API key to store. |
store |
Where to store the key. One of:
|
Invisibly returns TRUE on success.
## Not run:
# Store in environment (current session only)
set_api_key("your_api_key")
# Store securely in keyring (persistent)
set_api_key("your_api_key", store = "keyring")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.