List files in a Box directory

box_ls(dir_id = box_getwd(), limit = 100, max = Inf, fields = NULL)

Arguments

dir_id

The box.com id for the folder that you'd like to query

limit

Maximum number of entries to retrieve per query-page

max

Maximum number of entries to retrieve in total

fields

Specify what fields to query as a character vector. The default value NULL will return all possible columns: modified_at, content_modified_at, name, id, type, sha1 ,size, owned_by, path_collection, description

Value

A data.frame describing the contents of the the folder specified by dir_id. Non recursive.

See also

box_fetch() and box_push() for synchronizing the contents of local and remote directories. list.files() for examining the contents of local directories.