koboimport | R Documentation |
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.
koboimport(servername, formid, username, password)
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 |
###Not run
data<-koboimport(servername,form_id,username,password)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.