View source: R/dw_get_api_key.R
dw_get_api_key | R Documentation |
Retrieves the Datawrapper-API-key from the DW_KEY
environment variable if it exists.
dw_get_api_key()
You can use datawrapper_auth()
to store your API key into your local .Renviron
file.
The API-key as a character string
This is a helper function, that shouldn't be of any use outside of this package.
Benedict Witzenberger
## Not run: dw_get_api_key()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.