setup_folders: Setups folder structure for metricminer

View source: R/write-data.R

setup_foldersR Documentation

Setups folder structure for metricminer

Description

This is a function to setup a folder structure for metricminer data to be saved to. It depends on and reads Scope used for this function is the 'See, edit, create, and delete only the specific Google Drive files you use with this app.'

Usage

setup_folders(
  config_file = file.path(rprojroot::find_root(rprojroot::has_dir(".git")),
    "_config_automation.yml"),
  token = NULL
)

Arguments

config_file

The file path to the _config_automation.yml file

token

OAuth token from Google login.

Value

The googlesheet URL where the data has been written

Examples

## Not run: 

authorize("google")

setup_folders(
  config_file =  "_config_automation.yml"
)

## End(Not run)


metricminer documentation built on April 4, 2025, 2:41 a.m.