Retrieves the number of submissions made to a specified dataset.

kobo_submission_count(formid, user = NULL, api = "unhcr")

Arguments

formid

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

user

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 "kobo", which loads the KoBo Toolbox API.

Value

A single number indicating the number of submissions received.

Author

Ananda Mahto

Examples

if (FALSE) { kobo_submission_count("15051") kobo_submission_count("31511", api = "kobohr") }