This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
results: [ | |
{ | |
house_hearing_id: 102236, | |
chamber: "house", | |
committee_id: "HSWM", | |
congress: 113, | |
occurs_at: "2014-05-20T13:30:00Z", | |
room: "Longworth HOB 1100, Washington, D.C. 20515", | |
description: "Chairman Brady Announces Hearing on Current Hospital Issues in the Medicare Program", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
results: [ | |
{ | |
witness_type: "Non-Governmental", | |
text_preview: "", | |
congress: 113, | |
hearing_title: "To Review the State of the Livestock Industry", | |
urls: [ | |
{ | |
permalink: "http://unitedstates.sunlightfoundation.com/congress/committee/meetings/house/1021/102156/HHRG-113-AG29-Wstate-SmithM-20140430.pdf", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
results: [ | |
{ | |
legislative_day: "2013-04-08", | |
range: "week", | |
chamber: "house", | |
bill_id: "hr1120-113", | |
scheduled_at: "2014-08-06T18:38:58Z", | |
congress: 113, | |
source_type: "house_docs", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"affiliated_committees": [], | |
"cand_id": "H0IL01087", | |
"cand_sk": 10076990, | |
"dimcandoffice": [ | |
{ | |
"cand_election_yr": 2000, | |
"dimoffice": { | |
"expire_date": null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"api_version": 0.1 | |
}, | |
{ | |
"pagination": { | |
"count": "placeholder", | |
"page": 1, | |
"per_page": "placeholder" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Download data from https://facdissem.census.gov/PublicDataDownloads.aspx | |
Then unzip the files and place the them in data_distro/data_to_load/ | |
Load them with: manage.py public_data_loader | |
""" | |
import csv | |
import re | |
from os import walk, system | |
import traceback |