kobotools_api | R Documentation |
'kobotools_api' is a wrapper for kobotoolbox API 'https://[kpi-url]/api/v2/assets/'
kobotools_api(
url = "eu.kobotoolbox.org",
simplified = TRUE,
uname = "",
pwd = "",
encoding = "UTF-8",
qry = ""
)
url |
The '[kpi-url]' of kobotoolbox. Default is "eu.kobotoolbox.org" |
simplified |
A logical value, default is true |
uname |
takes the username |
pwd |
takes the password |
encoding |
is the encoding to be used. Default is "UTF-8". |
qry |
to add queries |
The function takes two variables. First one is 'url' which is the '[kpi-url]'. For most users it will be "eu.kobotoolbox.org" or "kf.kobotoolbox.org". Former is the default. The second parameter is 'simplified' which takes a logical value. If set to true, the function will return selected values from the parsed data and return a data frame. When set to false, a json will be returned with all the details.
The function returns the asset details from the API, inform of a data frame or json.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.