Skip to contents

List all uploaded files related to a KoboToolbox API asset

Usage

kobo_asset_file_list(x)

Arguments

x

the asset uid or the kobo_asset object.

Value

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

  • uid the file unique identifier

  • url URL of the file in the API

  • asset URL of the asset the file belongs to

  • user URL of the account that uploaded the file

  • user__username username of the account that uploaded the file

  • file_type file type, either form_media or map_layer

  • description file description

  • date_created date when the file was uploaded

  • content URL to download the file

  • hash MD5 hash of the file, prefixed with md5:

  • filename name of the file

  • mimetype MIME type of the file

Examples

if (FALSE) { # \dontrun{
kobo_setup()
uid <- "a9cwEQcbWqWzA5hzkjRUWi"
kobo_asset_file_list(uid)
} # }