It is important to secure access to the peer evaluation spreadsheet(s) so only you and the peer evaluation app have access. As of the google API version 4 this is best accomplished by creating a dedicated google project from your google account as outlined below. This creates a so-called service account with a unique client email address that you can share your peer evaluation spreadsheets with (just like sharing it with any other email address) as well as an access key file that your peer evaluation app can use for secure access. You can use this service account for all your peer evaluations and thus only need to set it up once (it does not expire). Note that previously peer evaluations worked by accessing your entire google drive account which is no longer the recommended (or supported) approach for security reasons. For additional information on service account authentication, see the .
peer evaluations
ENABLE
ENABLE
as wellCREATE SERVICE ACCOUNT
google sheets editor
(this will lead to a service
account ID along the lines of
[email protected]...
) and
Service account description,
e.g. Editing google sheets for peer evaluations
, then click
CREATE AND CONTINUE
Basic
–>
Editor
and click CONTINUE
DONE
insteadJSON
is selected, then click
CREATE
peer_evaluations_access_key.json
and keep it in a safe
location on your hard drive. You can reuse this key file for all peer
evaluations, and it is safe to use on a secure shiny app server but be
careful to never post this file anywhere publicly as it could be used to
gain access to your peer evaluation spreadsheets. You will have to
provide the path to this key file when setting up the peer evaluation
folder below.peer_evaluations_access_key.json
file in a
text editor and share the peer evaluation spreadsheet(s) you want to
access through the tbltools
package with the
client_email
address listed there (something along the
lines of
google-sheets-editor@peer-evaluations-xxxx.iam.gserviceaccount.com
)