gisco_get_cached_db: Retrieve and update the GISCO database in use by 'giscoR'

View source: R/gisco-get-cached-db.R

gisco_get_cached_dbR Documentation

Retrieve and update the GISCO database in use by giscoR

Description

Returns an optionally updates the cached database with the endpoints of the GISCO API.

Usage

gisco_get_cached_db(update_cache = FALSE)

Arguments

update_cache

logical. On TRUE the cached database would be rebuilt with the most updated information of the GISCO API.

Details

The cached database is stored in the giscoR cache path, see gisco_set_cache_dir() for details. The cached database would be used in subsequent R sessions.

On new GISCO data releases, you can access the new updated data simply by refreshing the cached database without waiting for a new version of giscoR.

A static database gisco_db is shipped with the package. This database would be used in case there is any problem on update.

Value

A tibble.

Source

https://gisco-services.ec.europa.eu/distribution/v2/.

See Also

Other database utils: gisco_db, gisco_get_metadata()

Examples



gisco_get_cached_db() |>
  dplyr::glimpse()


giscoR documentation built on Dec. 10, 2025, 9:08 a.m.