View source: R/authentication_functions.R
authenticate | R Documentation |
This function allows users with a IUROPA account to authenticate with the IUROPA API in order to access components of the IUROPA CJEU Database that have not yet been publicly released. This function creates a session. You need to provide your IUROPA username and password to authenticate.
authenticate(username, password)
username |
A string. Your IUROPA username. |
password |
A string. Your IUROPA password. |
This function returns an object of class iuropa_session
that
contains the credentials necessary to access password-protected data from
the IUROPA API. You can pass this session object into any function that
takes a session
argument. If your session times out, you will need
to run this function again to create a new session. You can have multiple
active sessions at the same time.
## Not run:
session <- authenticate(
username = "USERNAME",
password = "PASSWORD"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.