mp_availability | R Documentation |
Availability information for election programmes
mp_availability(ids, apikey = NULL, cache = TRUE)
ids |
Information on which documents to get. This can either be a
list of partys (as ids) and dates of elections as given to
|
apikey |
API key to use. Defaults to |
cache |
Boolean flag indicating whether to use locally cached data if available. |
an object of class ManifestoAvailability
containing availability information. Can be treated as a
data.frame
and contains detailed availability information
per document
## Not run:
mp_availability(countryname == "New Zealand")
wanted <- data.frame(party=c(41320, 41320), date=c(200909, 200509))
mp_availability(wanted)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.