sunlightlabs/zero

Name: zero

Owner: Sunlight Labs

Description: Zero tracks lobbying records kept by the Senate Office of Public Records.

Created: 2015-08-11 18:14:06.0

Updated: 2016-06-15 16:18:47.0

Pushed: 2015-08-14 15:54:56.0

Homepage: null

Size: 104

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Zero

Zero keeps track of what happens in the lobby.

Specifically, the lobbies of the House and Senate.

Use Zero from an interactive session, for e.g. iPython.

To, for example, get all lobbying records for 2015 and put them in a subdirectory of an existing directory called data:

from zero import zero as z

z.SOPRDownloader('2015','data')

To parse through all of the results and get back a pandas dataframe (this is a bit slow):

df = z.build_year('data/2015').results


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.