Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys
from requests import get
import re
import time
pattern = re.compile(r'(\w+)\.legistar\.com')
@rebeccawilliams
rebeccawilliams / Hawaii_HB632_2013.md
Last active December 24, 2015 07:29
2013 Hawaii HB 632 CD 1 permalink copy here

See government announcement [here] (http://www.capitol.hawaii.gov/session2013/bills/HB632_CD1_.htm).

A BILL FOR AN ACT RELATING TO OPEN DATA.

####BE IT ENACTED BY THE LEGISLATURE OF THE STATE OF HAWAII:

SECTION 1. In recent years, the idea that certain data should be freely available to everyone to use and republish as they wish, without restrictions from copyright, patents, or other mechanisms of control, has become prevalent. This concept, which is generally referred to as open data, applies to data that is already deemed public and made available electronically, such as on a website; it could include department, agency, and legislative data. Open data is not data that is governed by privacy, security, confidentiality or any protection of the law.

Open data is a top initiative of the chief information officer, as identified in the State of Hawaii Business and Information Technology/Information Resource Management Transformation Plan. The purpose of the initiative is to increase publ

@rebeccawilliams
rebeccawilliams / NY_EXECUTIVE_ORDER_95_2013.md
Last active December 24, 2015 07:29
2013 New York State Executive Order 95 permalink copy here

See government hosted executive order [here] (http://www.governor.ny.gov/executiveorder/95).

####USING TECHNOLOGY TO PROMOTE TRANSPARENCY, IMPROVE GOVERNMENT PERFORMANCE AND ENHANCE CITIZEN ENGAGEMENT

Printer-friendly version

WHEREAS, the State possesses vast amounts of valuable information and reports on all aspects of life in New York State, including health, business, public safety, and labor data as well as information on transportation, parks, and recreation; and

WHEREAS, new information technology has dramatically changed the way people search for and expect to find information, and such technology can aggregate ever larger quantities of data and allow government to provide information to the public with increasing efficiency; and

@rebeccawilliams
rebeccawilliams / Utah_SB0283_2013.md
Created September 30, 2013 14:16
2013 Utah SB 283 permalink copy here
@rebeccawilliams
rebeccawilliams / CookCounty-2011-11054.md
Last active December 24, 2015 08:19
2011 Cook County Open Government Plan permalink copy here

See the government hosted version (on NewsGenuius) here.

11-O-54 ORDINANCE Sponsored by THE HONORABLE TONI PRECKWINKLE, PRESIDENT, JOHN A. FRITCHEY Co-Sponsored by BRIDGET GAINER, ELIZABETH “LIZ” DOODY GORMAN, GREG GOSLIN, TIMOTHY O. SCHNEIDER, PETER N. SILVESTRI, LARRY SUFFREDIN AND JEFFERY R. TOBOLSKI, COUNTY COMMISSIONERS

@rebeccawilliams
rebeccawilliams / scrapeHUDreports.py
Last active December 25, 2015 00:59
step 1 in scraping HUD memos / reports
from pyquery import PyQuery as pq
print "Hello, you are doing great!"
site = "http://www.hudoig.gov/reports-publications/results"
base_url = "http://www.hudoig.gov/"
source_links = []
# grabs links to all reports
@rebeccawilliams
rebeccawilliams / halloween.py
Created October 30, 2013 20:56
Halloween message for Sunlight Foundation Open House, run in terminal via Cathode: http://www.secretgeometry.com/apps/cathode/
choices = []
for r in range(100):
choices.append("YOU WILL ENJOY THE SUNLIGHT FOUNDATION OPEN HOUSE OR DIE")
choices.append("HOPE YOU'RE HAVING FUN")
while 1:
for c in choices:
print c
@rebeccawilliams
rebeccawilliams / 2011-City-of-Raleigh.md
Created November 17, 2013 22:53
2011 City of Raliegh Open Data Policy permalink copy here

See government hosted document here.

####RESOLUTION NO. (2011)

####A RESOLUTION INDICATING THE INTENT OF THE CITY COUNCIL TO CREATE AN OPEN GOVERNMENT BY ENCOURAGING THE USE OF OPEN SOURCE SYSTEMS AND ENSURING OPEN ACCESS TO PUBLIC DATA

WHEREAS, the City of Raleigh is committed to using technology to foster open, transparent, and accessible government; and

WHEREAS, by sharing data freely, the City of Raleigh seeks to develop opportunities for economic development, commerce, increased investment and civic engagement; and WHEREAS, the adoption of open standards improves transparency, access to public information, and improved coordination and efficiencies among organizations across the public, non-profit and private sectors; and

@rebeccawilliams
rebeccawilliams / 2013-San-Francisco.md
Last active December 28, 2015 15:09
2013 City of San Francisco Open Data Policy permalink copy here
@rebeccawilliams
rebeccawilliams / NH-2013.md
Created November 17, 2013 23:18
2013 State of New Hampshire's Open Data/Open Source Policy permalink copy here

See the government hosted document here.

####STATE OF NEW HAMPSHIRE

In the Year of Our Lord Two Thousand Thirteen

AN ACT relative to the use of open source software by state agencies; including the department of information technology in the uniform electronic transactions act; and repealing the information practices act.

Be it Enacted by the Senate and House of Representatives in General Court convened: