dataverse_api_token | R Documentation |
Check that the Dataverse API token is set and if so show it
dataverse_api_token()
An API token is required for the R dataverse client to work. The
token can be obtained by signing in to your Dataverse account and selecting
"API token" from the dropdown menu. The token should then be used to set
the DATAVERSE_KEY option, i.e. Sys.setenv("DATAVERSE_KEY = '{api key}')
.
I do this in my R profile file so it's automatically done for every R
session (usethis::edit_r_profile()
).
https://guides.dataverse.org/en/latest/user/account.html#api-token
https://github.com/IQSS/dataverse-client-r#keys
The token. If the token is not set, an error message will be thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.