Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.38 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.38 KB

SharepointR

The goal of SharepointR is to make use of Microsoft Graph API to access and modify Microsoft Sharepoint items.

Installation

Passwords, access tokens, API keys are not stored here. So, installation will require the following steps:

  1. Open R Console / RStudio and find out R_USER folder by executing

    Sys.getenv("R_USER")

  2. Create / modify .Rprofile file in R_USER folder and ensure the following line exists in the file:

    readRenviron(paste0(Sys.getenv("R_USER"), "/.Renviron"))

  3. Create / modify .Renviron file in R_USER folder and ensure the following line exists in the file:

    SHAREPOINT_CLIENTID = <>

    SHAREPOINT_CLIENTSECRET = <>

    SHAREPOINT_REALM = <>

    Get these from portal.azure.com. More instructions in Sharepoint Token Resource below:

devtools::install_github("sanjidnet/SharepointR")

REFERENCE