sharepoint.Rd
Create sharepoint connection for downloading data.
Create sharepoint connection for downloading data.
client
A low-level sharepoint client object, which can be used to interact directly with the sharepoint API. This object mostly handles authentication, etc.
new()
Create sharepoint object for downloading data from sharepoint
sharepoint$new(sharepoint_url, auth = NULL)
sharepoint_url
Root URL of sharepoint site to download from
auth
Authentication data passed to the client
A new sharepoint
object
download()
Download data from sharepoint
sharepoint$download( sharepoint_path, dest = NULL, progress = FALSE, overwrite = FALSE )
sharepoint_path
Path to the resource within sharepoint
dest
Path to save downloaded data to
progress
Display a progress bar during download?
overwrite
Overwrite existing files?
Path to saved data
folder()
Create a folder
object representing a sharepoint folder,
with which one can list, download and upload files. See
sharepoint_folder
for more details.
sharepoint$folder(site, path, verify = FALSE)
site
The name of the sharepoint site (most likely a short string)
path
Relative path within that shared site. It seems that "Shared Documents" is a common path that most likely represents a "Documents" collection when viewed in the sharepoint web interface.
verify
Logical, indicating if the site/path combination is valid (slower but safer).