Internal implementation. For more convenient access and caching use one of
mp_corpus
,
mp_availability
,
mp_maindataset
.
get_mpdb(type, parameters = c(), versionid = NULL, apikey = NULL)
string of "meta", "text", "original", "main", "versions"
to indicate type of content to get
content filter parameters specific to type
character string specifying the corpus version to use, either
a name or tag as in the respective columns of the value of
mp_corpusversions
and the API
API key to use, defaults to NULL
, which means the key
currently stored in the variable apikey
of the
environment mp_globalenv
is used.