powered by
Download submitted files associatted to a KoboToolbox API asset
kobo_attachment_download(x, folder, progress, overwrite, n_retry)
Silently returns a vector of files paths.
the asset uid or the kobo_asset object.
kobo_asset
character, the folder where you store the downloaded files. The working directory is the default folder.
logical, whether or not you want to see the progess via message. Default to FALSE.
FALSE
logical, whether or not you want to overwrite existing media files. Default to FALSE.
integer, Number of time you should retry the failed request. Default to 3L.
if (FALSE) { kobo_setup() uid <- "a9cwEQcbWqWzA5hzkjRUWi" kobo_attachment_download(uid, folder = tempdir()) }
Run the code above in your browser using DataLab