google_auth: Authentificate for Google Sheets

View source: R/utils.R

google_authR Documentation

Authentificate for Google Sheets

Description

Authentificate for Google Sheets

Usage

google_auth(
  service_account = "default",
  email = "epiforecasts@gmail.com",
  cache_folder = ".secrets"
)

Arguments

service_account

the path to a JSON file that has all the information of the Google service account. If a service account is presented it will be used and the other arguments will be ignored

email

alternatively, provide the email address to an authorised account

cache_folder

path to the folder where secrets for the email address provided are stored.


epiforecasts/europe-covid-forecast documentation built on Jan. 15, 2025, 8:57 p.m.