Skip to contents

This is a function to get slido response output files. The slido files must be saved as googlesheets and cannot be xlsx. The scope it uses is the `See, edit, create, and delete all your Google Sheets spreadsheets.` If you don't check this box on the OAuth screen this function won't work.

Usage

get_slido_files(
  drive_id,
  token = NULL,
  recursive = TRUE,
  keep_duplicates = FALSE
)

Arguments

drive_id

a URL or drive id that has the slido response output files you are looking to get (will recursively search for files by default).

token

credentials for access to Google using OAuth. `authorize("google")`

recursive

Should slido files be looked for recursively in this folder? default is TRUE.

keep_duplicates

By default we won't keep duplicated files if a two files have the same name. But if you set this to true, duplicates will be returned.

Value

A list of the slido files and their content in a Googledrive location.

Examples

if (FALSE) { # \dontrun{

drive_id <- "https://drive.google.com/drive/folders/0AJb5Zemj0AAkUk9PVA"
drive_id <- "https://drive.google.com/drive/u/0/folders/1XWXHHyj32Uw_UyaUJrqp6S--hHnM0-7l"
slido_data <- get_slido_files(drive_id)
} # }