set_datim | R Documentation |
'set_datim' stores your DATIM credentials email using the 'keyring' package. This will only need to done once. After running 'set_datim(user)', you will be promoted to enter your password through the RStudio API which will then store the username and password in your OS credential store using 'keyring'.
set_datim(datim_username)
datim_username |
DATIM account |
The 'keyring' package utilized the OS credentials store. Storing in a centralized, secure location allows analysts to other analysts code without having to manually change user names/email address to access DATIM or Google Drive.
After 'set_datim' has been run once, an analyst can set 'load_secrets' at the beginning of a script, storing their email and DATIM username under Options for the current session.
stores USAID email in using keyring
Other authentication:
datim_pwd()
,
datim_user()
,
get_account()
,
get_key()
,
get_keys()
,
get_s3key()
,
get_services()
,
load_secrets()
,
pano_pwd()
,
pano_user()
,
pdap_access()
,
pdap_bucket()
,
pdap_secret()
,
set_account()
,
set_email()
,
set_key()
,
set_pano()
,
set_s3keys()
## Not run:
set_datim("rshah")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.