Skip to main content

Manage electoral race ratings, the POLITICO way.

Project description

politico-civic-race-ratings

Ratings scheme

Party direction (2018 and incument position)
  • Safe Republican
  • Likely Republican
  • Lean Republican
  • Toss-up
  • Lean Democratic
  • Likely Democratic
  • Safe Democratic
Race features
  • Trump bump
  • Trump burn
  • Party cash splash
  • Star candidate
  • Dead-weight candidate
  • Made Candidate (endrosements)

Page structure

Home page

  • Balance of Power by rating
  • Modeler
  • Filtered table
  • Activity feed

Race page

  • Current rating
  • Shift
  • Activity feed
  • Candidate info

Historical Data

Where I got the data

How to process the data

  • First, run python manage.py bootstrap_ratings to create the DataProfile object
  • Something funky is going on w/ the South Dakota Governor Data Profile ... it isn't generated automatically when you run bootstrap_ratings, which then crashes bootstrap_historical, so create that first.
  • Then, run python manage.py bootstrap_historical to get historical race data for corresponding seat.
  • PA data ... not currently including: https://docs.google.com/spreadsheets/d/1ztOyo95AVogMPltQxkJGsM4o42H7yzxqfIC5AwiFpkk/edit#gid=1739606676

Notes on the data

  • Something is weird in House FL-24 in 2016 ... Frederica S. Wilson got 0 votes ...

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file politico-civic-race-ratings-1.0a1.dev2.tar.gz.

File metadata

  • Download URL: politico-civic-race-ratings-1.0a1.dev2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for politico-civic-race-ratings-1.0a1.dev2.tar.gz
Algorithm Hash digest
SHA256 f558a0ffce26812123bba1988fc9d7d027300d401e16fd9227433098c813bc3c
MD5 138e89fe0befe4676f8020f0e932961e
BLAKE2b-256 2f399a836ecf5d82dc2e8217e1b996d5b6aea06371097947a1b977e805bd2ddd

See more details on using hashes here.

File details

Details for the file politico_civic_race_ratings-1.0a1.dev2-py2-none-any.whl.

File metadata

  • Download URL: politico_civic_race_ratings-1.0a1.dev2-py2-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for politico_civic_race_ratings-1.0a1.dev2-py2-none-any.whl
Algorithm Hash digest
SHA256 765b393350ab56d593793f1156770f38dd4ee73623e6371d34f5f73274b04635
MD5 f82779394aafc23d375f6d9f5c369066
BLAKE2b-256 eceb6c7f8f35a50b85960c441e0fbf5e0d901bf312014bdc5e26b861921b1ced

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page