Is it possible to add rows to an existing public Google Sheet without prompting for user authentication? I have the following function in a shiny app:
update <- function(URL, date, value){
URL %>%
gs_url() %>%
gs_add_row(ws = 3, input = c(date, value))
}
but when gs_add_row
is called locally, it opens a browser asking to sign into a Google account. On shinyapps.io it crashes (causes the session to disconnect from the server).
I have made sure the Google Sheet is "published to the web."