manifestoR (version 1.4.0)

get_viacache: Get API results via cache

Description

Get API results via cache

Usage

get_viacache(type, ids = c(), cache = TRUE, versionid = NULL, ...)

Arguments

type

type of objects to get (metadata, documents, ...) as a string. Types are defined as constants in globals.R

ids

identifiers of objects to get. Depending on the type a data.frame or vector of identifiers.

cache

whether to use (TRUE) or bypass (FALSE) cache, defaults to TRUE

versionid

string identifier of version to use

...

additional parameters handed over to get_mpdb

Details

This function is internal to manifestoR and not designed for use from other namespaces