Utilities functions for working with github

gh_raw_url(repo, file, branch = "main", lfs = FALSE)

Arguments

repo

user/repo

file

file

branch

branch

lfs

if uses lfs storage

Value

raw file url for downloading

Examples

url <- gh_raw_url("qiushiyan/blog-data", "codes.csv", lfs = TRUE)