I have been able to authenticate using the json file associated with a service account using googleAuth
and bigQueryR
.
# Load Packa
set_service_token()
is now deprecated.
Use bq_auth()
instead:
bq_auth(path = "location_of_service_token.json")
Source: https://rdrr.io/cran/bigrquery/man/bigrquery-deprecated.html
You can use the function set_service_token()
in bigrquery
to authenticate with the same service JSON you use in bigQueryR
library(bigrquery)
set_service_token("location-of-service.json")
Source: https://github.com/rstats-db/bigrquery/issues/22