dwh_gsheets: DWH Google sheets connection

Description Usage Arguments Examples

View source: R/google_sheets.R

Description

This function loads a token from Google to connect to Google drive, to read/write spreadsheets with package 'googlesheets'

Usage

1
dwh_gsheets(google_token = "~/.dwh_google_token.json")

Arguments

google_token

The token used to connect to google's api, a JSON file has to be indicated in this parameter

Examples

1
2
3
4
5
6
library(googlesheets)
dwh_gsheets()
x = gs_key('<YOUR-GSHEET-KEY>')

sheets = gs_ws_ls(x)
sheet = gs_read(x, ws='mytab')

auth0/rauth0 documentation built on July 3, 2021, 4:11 p.m.