Will download the data if necessary.
get_bca_sqlite_connection(
version = list(revision = 22, persistent_id = "hdl:11272.1/AB2/LAPUAB/HHU1YP"),
api_key = Sys.getenv("ABACUS_API_TOKEN"),
cache_path = Sys.getenv("ABACUS_CACHE_PATH"),
refresh = FALSE
)
database version, requires revision number and persistent ID
Abacus API key
cache path for local caching of the database
optionally refresh the local database if set to TRUE
A database connection