Download remote resources stored on GitHub Releases via piggyback.
get_data(
fname,
repo = "RajLabMSSM/echodata",
save_dir = tools::R_user_dir(package = "echodata", which = "cache"),
overwrite = FALSE,
tag = "latest",
...
)File name.
GitHub repository name.
Local directory to cache data in.
Should any local files of the same name be overwritten?
default TRUE.
tag for the GitHub release to which this data should be attached.
Arguments passed on to piggyback::pb_download
filename or vector of names of files to be downloaded. If NULL,
all assets attached to the release will be downloaded.
destname of vector of names of where file should be downloaded.
Can be a directory or a list of filenames the same length as file
vector. Any directories in the path provided must already exist.
ignorea list of files to ignore (if downloading "all" because
file=NULL).
use_timestampsDEPRECATED.
show_progresslogical, show a progress bar be shown for uploading?
Defaults to [interactive()] - can also set globally with options("piggyback.verbose")
.tokenGitHub authentication token, see [gh::gh_token()]
tmp <- get_data(fname = "Kunkle2019.tsv.gz")