koboimport: Fetching data from KoboToolBox using API (even Humanitarian)

koboimportR Documentation

Fetching data from KoboToolBox using API (even Humanitarian)

Description

KoBoToolBox provides a suites of tools to collect data in challenging environment. It is free and opne source and work both online and offline. KoboTool Box also provides advanced feature and make it useful in advanced scenarios.It provide data access through RESTAPI, which automte the workflow of data colelection, processing and visualization. This is possible even the project is no public, using username and password authentication.

Usage

koboimport(servername, formid, username, password)

Arguments

servername

either 'kobo.humanitarianresponse.info/' or 'kc.kobotoolbox.org' However, the current function is largely build to stream data from kobotoolbox.org.

formid

To download data, a unique identifier of the form is needed to construct a URL used to fetch data. The fetch data from a given form login to the server and click the form and navigate the the form tab. From the link, the text between forward slash(/)(after "forms" and before "landing"). For example, https://kf.kobotoolbox.org/#/forms/aTxwr9Fg4ouTYnRN5tHq2z/landing formid='aTxwr9Fg4ouTYnRN5tHq2z'

username

your username

password

you password

Examples

###Not run
data<-koboimport(servername,form_id,username,password)


Waiguru254/surveycto documentation built on July 4, 2024, 11:30 a.m.