download_acdc: Download ACDC database from GitHub release

View source: R/get_dbs.R

download_acdcR Documentation

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"))

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").

Value

Invisibly returns the full path to the downloaded file.

Examples

## Not run: 
download_acdc(tempdir())

## End(Not run)

acdcquery documentation built on Feb. 19, 2026, 5:07 p.m.