Skip to contents

Fetch VecDyn metadata table (downloading if necessary) and cache if fresh.

Usage

fetch_vd_meta(
  ids = NULL,
  cache_location = NULL,
  refresh_cache = FALSE,
  noprogress = FALSE,
  basereq = vb_basereq()
)

Arguments

ids

a numeric ID or numeric vector of ids (preferably in an ohvbd.ids object) indicating the particular dataset/s to download.

cache_location

path to cache location (defaults to a temporary user directory, or one set by set_default_ohvbd_cache()).

refresh_cache

force a refresh of the relevant cached data.

noprogress

disable non-essential messaging (progress bars etc.).

basereq

an httr2 request object, as generated by vb_basereq(). If NA, uses the default request.

Value

A dataframe describing the current VecDyn metadata.

Author

Francis Windram

Examples

if (FALSE) { # interactive()
fetch_vd_meta_table()
}