madoc_login: Log in with user/password at Madoc

View source: R/madoc-api-with-token.R

madoc_loginR Documentation

Log in with user/password at Madoc

Description

Logging in allows to get non-public data from Madoc

Usage

madoc_login(site, email, password)

Arguments

site

character string with the site

email

character string with your email address of the Madoc user

password

character string with the password used by the user of the provided email

Value

invisibly a data.frame with the cookies from the call to site/madoc/login

Examples

x  <- madoc_login("https://www.madoc.ugent.be/s/brugse-vrije",
                  email = "jan.wijffels@vub.be",
                  password = Sys.getenv("MADOC_PWD"))
x

DIGI-VUB/madoc.utils documentation built on Sept. 14, 2022, 3:03 p.m.