mp_metadata {manifestoR} | R Documentation |
Get meta data for election programmes
Description
Get meta data for election programmes
Usage
mp_metadata(ids, apikey = NULL, cache = TRUE)
Arguments
ids |
list of partys (as ids) and dates of elections, paired. Dates must
be given either in the |
apikey |
API key to use. Defaults to |
cache |
Boolean flag indicating whether to use locally cached data if available. |
Details
Meta data contain information on the available documents for a given party and election date. This information comprises links to the text as well as original documents if available, language, versions checksums and more.
Value
an object of class ManifestoMetadata
, subclassing data.frame
as well as tbl_df
and containing the requested
metadata in rows per election programme
Examples
## Not run:
mp_metadata(party == 21221)
wanted <- data.frame(party=c(41320, 41320), date=c(200909, 200509))
mp_metadata(wanted)
## End(Not run)