ls_github | R Documentation |
Specify repo, path, and github reference (master, sha, etc.)
and get back an ls
of that directory, including download links.
ls_github(repository, path = "", ref = "master")
repository |
character(1) formatted as 'user/repo_name' from Github |
path |
character(1) The path in the repo to |
ref |
character(1) The github reference (tag, sha, branch) to run the ls on. Default is master. |
A tibble
with columns including:
name
path
size
download_url
type (file
or dir
)
ls_github('TheEconomist/covid-19-excess-deaths-tracker', 'output-data/excess-deaths')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.