dp_make_params: Make dp params to connect to the Data Product Board

View source: R/dp_make_params.R

dp_make_paramsR Documentation

Make dp params to connect to the Data Product Board

Description

Make dp params to connect to the Data Product Board. This is needed prior to interacting with the content of the board.

Usage

dp_make_params(
  github_repo_url,
  repo_token = Sys.getenv("GITHUB_PAT"),
  branch_name = NULL
)

Arguments

github_repo_url

Repository URL

repo_token

Personal Access Token (PAT) needed to access the contents of the private repository

branch_name

Branch name of the data product repository

Value

Named list of dp params

Examples

## Not run: 
github_repo_url <- "https://github.com/<USERNAME>/<REPOSITORY NAME>"
dp_params <- dp_make_params(github_repo_url = github_repo_url, 
                            repo_token = Sys.getenv("GITHUB_PAT"))

## End(Not run)

amashadihossein/dpi documentation built on Aug. 14, 2024, 11:13 a.m.