List the sharepoint objects available in the specified drive, useful for finding the full paths for objects

list_sharepoint_objects(site, drive, path = "")

Arguments

site

Name of sharepoint site. Can be found in the URL of the Sharepoint location, e.g. for "departmentfortransportuk.sharepoint.com/sites/Rail", the site name would be Rail

drive

Name of sharepoint drive you want to list objects associated with. This is case sensitive.

path

By default, this function will list the objects at the top level of the drive. If you want to view lower-level items (e.g. inside a folder), you can specify the folder paths here. Default is blank