formr_connect: Connect to formr

View source: R/connect_to_formr.R

formr_connectR Documentation

Connect to formr

Description

Connects to formr using your normal login and the httr library which supports persistent session cookies. Calling this function will persist the specified host (by default https://formr.org) in further formr_ function calls. You can change this by calling formr_last_host()

Usage

formr_connect(
  email = NULL,
  password = NULL,
  host = formr_last_host(),
  keyring = NULL
)

Arguments

email

your registered email address

password

your password

host

defaults to formr_last_host(), which defaults to https://formr.org

keyring

a shorthand for the account you're using

Examples

## Not run: 
formr_connect(keyring = "formr_diary_study_account" )

## End(Not run)

rubenarslan/formr documentation built on Feb. 7, 2025, 6:31 a.m.