sp_collect: Collect a SharePoint list

sp_collectR Documentation

Collect a SharePoint list

Description

This method allows to collect the results of a SharePoint list request

Usage

sp_collect(table, n = Inf, skip = NULL, expand = T, verbose = T)

Arguments

table

A SharePoint list connection as returned by sp_list()

n

Number of rows to collect

skip

Number of rows to skip

expand

Follow deferred links

verbose

Print status information

Value

Request result as data frame

Examples

sp_con = sp_connection("https://yourdomain.sharepoint.com", "YourUsername", "YourPassword", Office365 = T)
sp_list = sp_list(sp_con, "yourList") %>% sp_select(Title, `Column with whitespaces`) %>% sp_collect()

LukasK13/sharepointr documentation built on Jan. 9, 2023, 12:22 p.m.