Description Public fields Methods
Create sharepoint connection for downloading data.
Create sharepoint connection for downloading data.
clientA 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_urlRoot URL of sharepoint site to download from
authAuthentication 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_pathPath to the resource within sharepoint
destPath to save downloaded data to
progressDisplay a progress bar during download?
overwriteOverwrite 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)
siteThe name of the sharepoint site (most likely a short string)
pathRelative 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.
verifyLogical, indicating if the site/path combination is valid (slower but safer).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.