tbl_fetch_peer_evaluation_data: Fetch the peer evaluation data

Description Usage Arguments

View source: R/peer_evaluation.R


Fetches the peer evaluation data from the google spreadsheet. For standard installations of the peer evaluation app, all defaults should be sufficient with only parameter data_gs_title requiring a specification.


tbl_fetch_peer_evaluation_data(folder = ".", data_gs_title,
  roster = read_excel(file.path(folder, "roster.xlsx")),
  gs_token = file.path(folder, "gs_token.rds"))



folder where the peer evaluation app is located (relative to the location of the RMarkdown file if used in the latter context)


name of the google spreadsheet that should be used for storing the peer evaluation data. This spreadsheet must already exist and the credentials used when asked by this function must have write access to the spreadsheet.


data frame with the student roster


path to a google spreadsheet oauth 2.0 authentication token file (see Token-class). If none is provided or the file does not exist yet, will ask for google drive credentials interactively to generate a token for the peer evaluation app. The token is safe to use on a secure shiny app server but be careful to never post this token file anywhere publicly as it could be used to gain access to your google drive.

KopfLab/tbltools documentation built on March 19, 2018, 9:14 a.m.