View source: R/movebank_credentials.R
movebank_store_credentials | R Documentation |
The function stores the credentials for accessing movebank, by default it checks if accessing movebank is possible, and fails when either the credentials are invalid or movebank cannot be reached. The force option can be used to override this. Once credentials are stored, these functions are not needed again as all call to movebank can use the credentials from the keyring.
For more details on the usage of the keyring, how passwords are handled and handling multiple accounts see
vignette("movebank", package="move2")
movebank_store_credentials(
username,
password,
key_name = getOption("move2_movebank_key_name"),
force = FALSE
)
movebank_remove_credentials(key_name = getOption("move2_movebank_key_name"))
username |
A string with the movebank username |
password |
Either a string or missing, if missing then the password is asked for using
|
key_name |
The name of the key in the keyring. By default this is stored in
|
force |
If TRUE, when accessing movebank fails the key is stored anyway. |
TRUE
invisible if successful
Other movebank-download:
movebank_download_study()
,
movebank_handle()
## Not run:
movebank_store_credentials("bart")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.