Giter Club home page Giter Club logo

elections_canada_donations's Introduction

Elections Canada donations data

A database containing information on donations to political parties or their associations, nominees or candidates since 2006.

The database is in zip form in order to comply with GitHub's maximum file size.

The data was scraped from http://www.elections.ca/WPAPPS/WPF/EN/CCS?returntype=1 using Selenium in Python (as other scrapers had difficulties).

All of Elections Canada's terms of service have been followed; the original name of this data set is Financial Reports.

Here is an example record:

Name_of_contributor                               Adriane M S Cochrane
Politicial_party                                  Canadian Action Party
Contribution_given_to                             Cochrane, Gord
Date_received                                     May 02, 2011
Fiscal_year_or_event_date                         May 02, 2011
Financial_report                                  Candidate's Electoral Campaign Return (2007) /...
Class_of_contributor                              Individuals -- after December 31,2006
Monetary                                          1000
Non-monetary                                      0
Contribution_given_through_name_of_association    NaN

** Currently this database is missing the following fields relating to the donor: **

  • Province
  • City
  • Postal_Code

As this involves scraping a single web page for each of the 1,004,000 + donors, I'm not done scraping it yet!

Caveat emptor: it appears that there's a rather long waiting period between a donation being made and Elections Canada making it available in their web search, judging from the following graph:

donations per year

elections_canada_donations's People

Contributors

prooffreader avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.