How to authenticate with service account and bigrquery package?

眉间皱痕 提交于 2019-12-02 04:54:48

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!