login_db {databraryr}R Documentation

Log In To Databrary.org.

Description

Log In To Databrary.org.

Usage

login_db(
  email = NULL,
  password = NULL,
  store = FALSE,
  overwrite = FALSE,
  vb = FALSE,
  SERVICE = KEYRING_SERVICE,
  rq = NULL
)

Arguments

email

Databrary account email address.

password

Databrary password (not recommended as it will displayed as you type)

store

A boolean value. If TRUE store/retrieve credentials from the system keyring/keychain.

overwrite

A boolean value. If TRUE and store is TRUE, overwrite/ update stored credentials in keyring/keychain.

vb

A boolean value. If TRUE provides verbose output.

SERVICE

A character label for stored credentials in the keyring. Default is "databrary"

rq

An http request object. Defaults to NULL.

Value

Logical value indicating whether log in is successful or not.

Examples


login_db() # Queries user for email and password interactively.


## Not run: 
# The following shows how to use credentials that have been stored previously.

login_db(email = "you@provider.com", store = TRUE)


## End(Not run)


[Package databraryr version 0.6.4 Index]