get_data: Get remote data

View source: R/get_data.R

get_dataR Documentation

Get remote data

Description

Download remotely stored data via pb_download.

Usage

get_data(
  fname,
  repo = "neurogenomics/MSTExplorer",
  save_dir = KGExplorer::cache_dir(package = "MSTExplorer"),
  overwrite = TRUE,
  tag = "latest",
  check = FALSE,
  ...
)

Arguments

repo

Repository name in format "owner/repo". Defaults to guess_repo().

save_dir

Directory to save data to.

overwrite

Should any local files of the same name be overwritten? default TRUE.

tag

tag for the GitHub release to which this data should be attached.

...

Arguments passed on to piggyback::pb_download

file

name or vector of names of files to be downloaded. If NULL, all assets attached to the release will be downloaded.

dest

name 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.

ignore

a list of files to ignore (if downloading "all" because file=NULL).

use_timestamps

DEPRECATED.

show_progress

logical, show a progress bar be shown for uploading? Defaults to ⁠[interactive()]⁠ - can also set globally with options("piggyback.verbose")

.token

GitHub authentication token, see ⁠[gh::gh_token()]⁠


neurogenomics/MultiEWCE documentation built on April 22, 2024, 6:22 a.m.