View source: R/dp_make_params.R
dp_make_params | R Documentation |
Make dp params to connect to the Data Product Board. This is needed prior to interacting with the content of the board.
dp_make_params(
github_repo_url,
repo_token = Sys.getenv("GITHUB_PAT"),
branch_name = NULL
)
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 |
Named list of dp params
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.