Learn R Programming

ohvbd (version 1.0.0)

fetch_vd_meta: Fetch VecDyn metadata table

Description

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

Value

A dataframe describing the current VecDyn metadata.

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.

Author

Francis Windram

Examples

Run this code
if (FALSE) { # interactive()
fetch_vd_meta_table()
}

Run the code above in your browser using DataLab