Download form from the platform

kobo_form(formid, userpwd, api)

Arguments

formid

The ID of the form to be accessed (as a character string).

userpwd

Optional. A single string indicating the username and password (in the form of "username:password"), or a character vector or list, length 2, with the first value being the "username", and the second being the "password".

api

The URL at which the API can be accessed. Defaults to "unhcr", which loads the UNHCR KoBo Toolbox API.

Value

Downloaded form path.

Author

Edouard Legoupil

Examples

if (FALSE) { kobo_form("15051") kobo_form("31511", user = userpwd, api = "unhcr") }