mp_parties | R Documentation |
These functions provide access to machine-readable versions of the List of Parties of the Manifesto Project Data as can be found in CSV form under https://manifesto-project.wzb.eu/datasets . Note: the list of parties is not available for all of the past datasets. You can check the availability by going to the datasets page and check for specific datasets whether they have party lists in the following formats "List – Short (CSV)" or "List – Long (CSV)" available. There you can also find the codebooks with details for these list of parties.
mp_parties(
version = "current",
apikey = NULL,
cache = TRUE,
list_form = "short"
)
version |
version of the Manifesto Project Main Dataset for which the list of parties is requested. Note: the list of parties is not available for all of the past datasets. Defaults to "current", which fetches the most recent version. Must be formatted as e.g. "MPDS2023a". |
apikey |
API key to use. Defaults to |
cache |
Whether result of API call should be cached locally (defaults to TRUE) |
list_form |
Whether the result should be the short or the long version (defaults to "short") |
mp_parties
returns the list of parties as a tibble
, ideal for further automatic processing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.