Skip to content

CampaignLab/candidate-statements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

candidate-statements

Understanding candidate messaging and public statements helps identify patterns and develop effective counter-messaging strategies.

The goal is to build a system to collect and analyze public statements made by Reform UK candidates across various platforms, identifying common themes, rhetoric patterns, and potential misinformation.

Statements from Democracy Club

First source will be candidate statements from the 2024 GE collected by Democracy Club and available via their API.

You will need to create an account at Democracy Club. Once you have done so, place it in your .env file as follows:

TOKEN=<your token>

Run the tool to download the statements.

pip install load-dotenv
pip install requests
python get_statements.py

Currently takes about 30 minutes to download as Democracy Club has rate limits we have to follow.

About

Candidate Statement Analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages