- version
Specify the version of the dataset you want to access. Use
"current" to obtain the most recent, or use
mp_coreversions
for a list of available
versions.
- south_america
flag whether to download corresponding South America dataset
instead of Main Dataset. This parameter deprecated as the previously separated South
America Dataset has been integrated into the Main Dataset from version 2023a onwards.
To allow for backward compatibilty old South American Datasets can still be accessed
but querying for the most recent South American Dataset will result in an empty dataset.
- download_format
Download format. If not NULL, instead of the dataset
being returned as an R data.frame, a file path to a temporary file in the specified
binary format is returned. Can be one of c("dta", "xlsx", "sav")
. With
the "dta" option, labeled columns can be obtained.
- apikey
API key to use. Defaults to NULL
, resulting in using
the API key set via mp_setapikey
.
- cache
Boolean flag indicating whether to use locally cached data if
available.
- ...
all arguments of mp_southamerica_data
are passed on to mp_maindataset