Login into a brapi compatible database.

ba_login(con)

Arguments

con

A required object of class 'brapi_con'.

Value

The object of class 'brapi_con' with the authentication token filled.

Details

Caches a session token and informs of success or failure.

Note

Tested against: sweetpotatobase, BMS

References

github

See also

Examples

if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_login(con = con, ...) }