overwrite: logical, if TRUE, it overwrites the existing token. Default to FALSE.
Returns
A character, the KoboToolbox API token. It also stores, as a side effect, the URL and token as the environment variables KOBOTOOLBOX_URL and KOBOTOOLBOX_TOKEN respectively.
Examples
## Not run:# use your own KoboToolbox URL, username and passwordif(require(askpass)){ token <- kobo_setup(username ="cool_user_name", password = askpass::askpass(), url ="https://kf.kobotoolbox.org/") token
}## End(Not run)