| rconn | R Documentation | 
Creates an object of class "rconn" containing the URL and token used to access a REDCap project API.
rconn(url, token, config = httr::config())
url | 
 URL for a REDCap database API  | 
token | 
 REDCap project API token (good practice to set using an
environmental variable, e.g. with   | 
config | 
 Optional configuration settings passed to   | 
An object of class "rconn", to be passed as the first argument to most other
redcap functions.
conn <- rconn(
  url = "https://redcap.msf.fr/api/",
  token = Sys.getenv("MY_REDCAP_TOKEN")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.