Function is used to create a named list of API configuration to be
passed to any of the methods that interact with the
REDCap API. Current defaults include using SSL certificates from
REDCapR
package.
1 2 3 4 | create_api_config(api_url = NULL, token = NULL,
config_options = httr::config(cainfo =
system.file("ssl_certs/mozilla_ca_root.crt", package = "REDCapR"), timeout =
8, ssl_verifypeer = 1))
|
api_url |
The API URL of the REDCap instance you'd like to connect to. |
token |
The API token for the project you'd like to connect to. |
config_options |
A list of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.