Civic Tech, Open Data and Python

Greg Kempe

@longhotsummergreg@kempe.net

Civic

relating to the duties or activities of people in relation to their town, city, or local area.

— Google


Civic Tech

technology that aids civic engagement, education, empowerment, transparency and accountability.

— @longhotsummer

Dexter

and the 2014 National Elections

elections2014.mediamonitoringafrica.org

Was the coverage...

balanced & fair?

comprehensive?

people-centered?

Party media coverage

Party media coverage

Who's quoted?

Who's quoted?

Dexter

7461 articles

55 media outlets

28 print

11 radio

13 TV

3 online

Let's talk code

Flask

MySQL

OpenCalais + AlchemyAPI

Humans

sources: who's quoted?

name, gender, race, affiliation, function

For the first time in Ronnie Kasrils's life, he can't unequivocally tell people to vote for the ANC. "I have been a person who was so involved in mobilisation for ANC votes," he says.

 

Sources: who's quoted?

Name, gender, race, affiliation, function

For the first time in Ronnie Kasrils's life, he can't unequivocally tell people to vote for the ANC. "I have been a person who was so involved in mobilisation for ANC votes," he says.

=

In an interview, Jim said the ANC only wants to use Vavi to gain support before the elections. "They are doing it for elections," he said.

=


  • "Independent Electoral Commission of South Africa"
  • "Black Consciousness Movement"
  • "fearless prosecutor"
  • "theft"

+ =

Some extra

Mamphela Ramphela, Mamphela Ramphele, Mamphele Ramphele, Mamphela Pamphele

Mandela, Nelson Mandela, Madiba, Tata

Sources

+ =


Topic, issues, bias

=

Dexter

Human-augmented machine learning for media analysis

github.com/code4sa/mma-dexter

elections2014.mediamonitoringafrica.org

Wazi

wazimap.co.za

Understand your country, province, city and neighbourhood through the eyes of Census 2011


Census 2011 data from Stats SA

Elections data from IEC

Boundary data from Demarcations Board


Fork of censusreporter.org

Demo!

Django

PostgreSQL, PostGIS

node.js + topojson

Open Street Map

Google Maps API

Mobile-friendly

1 Country

9 Provinces

52 Districts

234 Municipalities

14 030 Mainplaces

22 196 Subplaces

4277 Wards

2 078 825 stats rows

Thanks!

@longhotsummer

greg@kempe.net

 

Thanks to

 

Credits