Skip to contents

List all available versions of a KoboToolbox API asset and their metadata.

Usage

kobo_asset_version_list(x)

Arguments

x

the uid or kobo_asset object.

Value

A data.frame containing the list of all the versions of a given KoboToolbox API asset with the following metadata:

  • uid the asset version unique identifier.

  • url the URL of the asset version.

  • deployed whether or not the asset version is deployed

  • date_modified when the asset version was last modified

  • version_number the version label shown in the form history of KoboToolbox, such as "12" for the twelfth deployment and "11.4" for the fourth draft saved after the eleventh deployment. It is a character column, NA on servers older than KoboToolbox KPI 2.026.30.

Examples

if (FALSE) { # \dontrun{
kobo_setup() # setup using your url and token
uid <- "a9cwEQcbWqWzA5hzkjRUWi" # pick a valid uid
asset <- kobo_asset(uid)
kobo_asset_version_list(asset)
} # }