kobo_asset_file_list function

List all uploaded files related to a KoboToolbox API asset

List all uploaded files related to a KoboToolbox API asset

kobo_asset_file_list(x)

Arguments

  • x: the asset uid or the kobo_asset object.

Returns

A data.frame containing the list of all your KoboToolbox API files under the asset:

  • uid the asset unique identifier
  • url url of the files API endpoint
  • asset url of the files associated asset API endpoint
  • user the user account of the owner of the asset
  • user__username when the asset was created
  • file_type files type either form_media or map_layer
  • description files description
  • date_created date when the files were created
  • content url to download the files
  • hashmd5 hash of the files
  • filename names of the files
  • mimetype mime type of the files

Examples

## Not run: kobo_setup() uid <- "a9cwEQcbWqWzA5hzkjRUWi" kobo_file_list(uid) ## End(Not run)