View source: R/retrieve_org_repos.R
retrieve_org_repos | R Documentation |
Given an organization on GitHub, retrieve all the bookdown chapter information for all the Github pages that exist for all the repositories. Currently only public repositories are supported.
retrieve_org_repos(
org_name = NULL,
output_file = "org_repos.tsv",
git_pat = NULL,
verbose = TRUE
)
org_name |
the name of the organization that e.g. "jhudsl" |
output_file |
a file path for where the chapter information should be saved e.g. "jhudsl_repos.tsv" |
git_pat |
If private repositories are to be retrieved, a github personal access token needs to be supplied. If none is supplied, then this will attempt to grab from a git pat set in the environment with usethis::create_github_token(). |
verbose |
TRUE/FALSE do you want more progress messages? |
A TRUE/FALSE whether or not the repository exists. Optionally the output from git ls-remote if return_repo = TRUE.
retrieve_org_repos(
org_name = "jhudsl",
output_file = "jhudsl_repos.tsv"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.