Skip to contents

Description

okapi-package okapi
Open Data Kit (ODK)-based Computer-assisted Personal Interview (CAPI) Tools

ONA API - Setup

ona_auth_password()
Basic authentication to ONA with a username and password
ona_auth_token()
Basic authentication to ONA with API authentication token
ona_configure()
Configure HTTP headers

ONA API - Data

ona_data_get()
Retrieve specific dataset by form ID from specific user
ona_data_list()
Retrieve list of datasets available to specific user

ONA API - Forms

ona_form_delete()
Delete published form
ona_form_list()
List published forms
ona_form_publish()
Publish XLSForm

ONA API - Projects

ona_project_delete()
Delete registered project
ona_project_info()
Get project info
ona_project_list()
List projects
ona_project_register()
Register a project
ona_project_share()
Share projects with user(s)

ONA API - Organisations

ona_org_delete()
Delete registered organisation
ona_org_list()
List organisations
ona_org_register()
Register an organisation

KoBo Toolbox API

kobo_auth_password()
Basic authentication to KoBo Toolbox with a username and password
kobo_auth_token()
Basic authentication to KoBo Toolbox with API authentication token
kobo_get_data()
Retrieve specific dataset by form ID from specific user
kobo_list_assets()
Retrieve list of assets available to specific user