Learn R Programming

acdcquery (version 1.2.3)

download_acdc: Download ACDC database from GitHub release

Description

Downloads the acdc.db SQLite database from the latest (or specified) release on jstbcs/acdc-database to a given directory.

Usage

download_acdc(dest_dir, tag = NULL, token = Sys.getenv("GITHUB_PAT"))

Value

Invisibly returns the full path to the downloaded file.

Arguments

dest_dir

Directory where the database should be saved.

tag

Optional release tag. If NULL, uses latest release.

token

Optional GitHub token. Defaults to Sys.getenv("GITHUB_PAT").

Examples

Run this code
if (FALSE) {
download_acdc(tempdir())
}

Run the code above in your browser using DataLab