Skip to contents

Set the KoboToolbox server url and the API token.

Usage

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

Arguments

url

character, the base url of the KoboToolbox server

token

character, the API token

Value

a kobo_settings object

Examples

if (FALSE) {
 kobo_setup(url = "https://kf.kobotoolbox.org/",
            token = "9et1814c285w094f6v9bd629df47a1a0e81x53a0")
 kobo_settings()
}