Skip to content
R code to merge the Comparative Party Pledge Group and Manifesto Project datasets.
Branch: mctrillan-patc…
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This project contains R code to merge the Comparative Party Pledge Project (CPPP) and Manifesto Project (MARPOR) datasets with manifestos as observations. The code is designed to allow users flexibility in the variables to take from the MARPOR data.

Step-by-step instructions have been commented into the script. It will run from start to finish as long as the user has placed the relevant files in the correct directories and edits the code accordingly. Users must also download ajps_names.csv and marpor_names.csv and place them in the working directory.

This script uses the MARPOR API to download the latest dataset. Users need to have a Manifesto Project account to access the data ( and have access to a local .dat format copy of the CPPP data (available here, save in working directory with file name "pledges.ajps.dta").

Please email me at if you have any questions or comments.

You can’t perform that action at this time.