Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rebeccawilliams on github.
  • I am rebeccawilliams (https://keybase.io/rebeccawilliams) on keybase.
  • I have a public key whose fingerprint is 9696 A24D 1CDD 458F 9572 3929 5EA0 5D6D 77F8 3A4C

To claim this, I am signing this object:

@rebeccawilliams
rebeccawilliams / alldata.py
Last active August 29, 2015 14:12
get all of the data in many files
import urllib
dataset = 137
url = 'http://catalog.data.gov/api/3/action/package_search?rows=1000&start=%s' % (dataset)
while dataset > 0:
print "downloading all the Data.gov metadata"
urllib.urlretrieve(url, "datagov%s.json" % (dataset))
dataset = dataset - 1

Keybase proof

I hereby claim:

  • I am rebeccawilliams on github.
  • I am rebeccawilliams (https://keybase.io/rebeccawilliams) on keybase.
  • I have a public key whose fingerprint is 15A8 AC31 D3B4 F19D 14BD C6C9 85DA 1D49 543B 763F

To claim this, I am signing this object:

Open Law Tools (Code) Open Lawmaking Tools (Legislative Data) Supportive Policies Supportive Organizations
AmLegal Decoder, AmericaDecoded (redeploying StateDecoded across the U.S.) AskThem (representative contact information and crowdsourced city council agenda Q&A) New York City passed a resolution amending their City Council Rules to make all proposed ordinances and associated legislative information available openly through an online database and [passed an amendment to the New York city charter](ht
@rebeccawilliams
rebeccawilliams / kaitlin.py
Created April 23, 2014 21:13
going away love for Kaitlin from her Python students
import os
from time import sleep
Kaitlin = "Awesome!"
# made with love by Lindsay
print "Thank you Kaitlin!"
sleep(1)
print "for teaching us useful things like..."
sleep(1)
import csv
requests = open("DC311.csv")
tags = open("graffiti.csv", 'w')
read_file = csv.reader(requests)
write_file = csv.writer(tags)
Graffiti = 0
@rebeccawilliams
rebeccawilliams / 2013-LA.md
Created December 18, 2013 23:42
2013 Los Angeles Open Data Executive Directive permalink copy here

See the government announcement of this exectuive directive here.

Executive Directive No. 3 Issue Date: December 18, 2013

Subject: Open Data

To promote transparency and accountability, the City of Los Angeles (“City”) will make publicly available raw data in easy-to-find and accessible formats. Open Data is raw data generated or collected by government agencies made freely available for use by the public, subject only to valid privacy, confidentiality, security, and other legal restrictions.

Open Data empowers Angelenos to participate in governance with greater understanding and impact. Opening government data to entrepreneurs and businesses promotes innovation by putting that information to work in ways outside the expertise of government institutions and gives companies, individuals, and nonprofit organizations the opportunity to leverage one of government’s greatest assets: public information. Most

@rebeccawilliams
rebeccawilliams / techladyAPI.md
Last active May 27, 2016 12:25
#TechLady API links
@rebeccawilliams
rebeccawilliams / 2012-NYC.md
Created November 20, 2013 16:11
2012 New York City Local Law 11 permalink copy here

See the government hosting of this ordinance (via GitHub pages) here.

####Local Law 11 of 2012

New York City Council voted on and passed this legislation on February 29, 2012. Mayor Bloomberg signed it into law on March 7, 2012. The text below has been formatted to enhance readability.

Local Law 11 of 2012 (previously Introduction 0029A-2010)

By Council Members Brewer, Fidler, Gentile, Gonzalez, James, Lander, Palma, Nelson, Lappin, Dromm, Garodnick, Reyna, Mealy, Vann, Jackson, Levin, Cabrera, Gennaro, Williams, Van Bramer, Rodriguez, Halloran and the Public Advocate (Mr. de Blasio) A Local Law to amend the administrative code of the city of New York, in relation to publishing open data.

@rebeccawilliams
rebeccawilliams / 2013-Madison.md
Last active December 28, 2015 15:19
2013 City of Madison Open Data Ordinance permalink copy here

See the government hosted ordinance here.

#####The Common Council of the City of Madison do hereby ordain as follows:

#####I. Subdivision (c) entitled “Public Records Opt Out Policy and Procedures” of Subsection (6) entitled “Time for Compliance and Procedures” of Section 3.70 entitled “Public Records” of the Madison General Ordinances is created to read as follows:

  • (c) Public Records Opt-Out Policy and Procedures. The City shall develop a procedure whereby individuals may inform the City that their safety may be endangered by the release of any otherwise available public records and whereby such individuals may request that such records be maintained as confidential records. The Office of the City Attorney and IT shall work cooperatively to develop the necessary procedures and policies to facilitate such communications and to respond appropriately to such