50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

robotoolbox (version 1.4)

kobo_setup: Set robotoolbox settings

Description

Set the KoboToolbox server URL, API token and return invisibly a kobo_settings object.

Usage

kobo_setup(
  url = Sys.getenv("KOBOTOOLBOX_URL", ""),
  token = Sys.getenv("KOBOTOOLBOX_TOKEN", "")
)

Value

A kobo_settings object pritting the server URL and the API token.

Arguments

url

character, the base URL of the KoboToolbox server.

token

character, the API token.

Examples

Run this code
if (FALSE) {
 # use your own URL and token
 kobo_setup(url = "https://kf.kobotoolbox.org/",
            token = "9et1814c285w094f6v9bd629df47a1a0e81x53a0")
 kobo_settings()
}

Run the code above in your browser using DataLab