Skip to contents

Stores the Crunch folder ID and related metadata in the project datalake object. This is typically done once per project.

Usage

crunch_set_project(
  crunch_project_id = NULL,
  check = TRUE,
  project = g6tr.dl::dl_get_project()
)

Arguments

crunch_project_id

Character. Crunch folder ID. If NULL, opens the Crunch homepage and prints instructions on how to use.

check

Logical. If TRUE (default), verify that the Crunch folder actually exists and is accessible from the current account before storing it. Set to FALSE to skip the lookup.

project

Project name or ID. Defaults to g6tr.dl::dl_get_project().

Examples

if (FALSE) { # \dontrun{
crunch_set_project("d1e9f017fd5a459e973adbbddf9852a1")
} # }