Authenticate in Google and formr

ml_connect(google_email = NULL)

Arguments

google_email

E-mail used in Google Drive account. If NULL (default), it is assumed to be the same as admin email (gonzalo.garciadecastro@upf.edu)

Value

TRUE if Google and formr authentication was successful, FALSE if authentication of any of the two failed.

Details

This function authenticates both the Google and formr accounts. It takes google_email(the email address you use in your Google Drive account, where the Participants database is stored) as a single argument. You will need to provide your Google credentials to allow it to access the Participants database in Google Drive. You will also be prompted to write the formr password in the console. Please do not write your password in any script you will save later.

Examples

my_email <- "gonzalo.garciadecastro@upf.edu" ml_connect(google_email = my_email)
#> You are now connected!
#> [1] TRUE