auth_gdrive: Authorize Google Drive access

Description Usage Arguments Value Examples

Description

auth_gdrive generates a token which is saved to tokens/gdrive_token and used for accessing a google drive folder

Usage

1
2
auth_gdrive(config_path = "config.json", token_path = "tokens/gdrive_token",
  create_token = TRUE)

Arguments

config_path

path where the config.json file is located

token_path

path to the token file

create_token

whether a new token should be created (mandatory, if an existing token is not available in the dir tokens/)

Value

A google drive token in the (newly created?) tokens/gdrive_token directory.

Examples

1
2
3
4
## Not run: 
auth_gdrive("config.json", create_token=TRUE)

## End(Not run)

RazorfishGermany/reportingManager documentation built on May 9, 2019, 9:22 a.m.