Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Death Penalty Tracker

A Flask app built from web-scraped data.

To run the basic app

Clone this repo into some directory:

git clone https://github.com/datademofun/deathpenalty-tracker.git
cd deathpenalty-tracker
python app.py

To interact with the data

So, you don't have to worry about doing any web scraping.

But you still need to know where the data comes from, and what the looks like when it's delivered to the app. So jump into ipython (from the top directory).

The data-munging scripts are in the datafoo directory. You shouldn't have to deal with datafoo/scrapes unless you really want to know how the sausage is made.

from datafoo import easyfetch
from datafoo import getfacts

upcoming_executions = easyfetch.upcoming_executions()
past_executions = easyfetch.historical_executions()

About

A barebones copy of Marshall Project's "Next to Die" -- A Flask app with some data collection scripts

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.