Skip to content

Instantly share code, notes, and snippets.

Tool Features Open Source Technology? Documentation? Deployment
Alavateli An open-source platform for making public freedom of information requests to public bodies.Built to help citizens request information, and view and comment on other people's requestsAll requests made through Alaveteli, and their responses are published online for everyone to see.Used all over the world to open up governments and other public bodies. Built with Ruby on Rails 3.x, etc, see the documentation for developers. Learn about the project at www.alaveteli.org. Read Turbo Transparency, a paper about how and why to use Alaveteli for Freedom of Information systems, and a Getting Started guide. The documentation covers installing, [customising
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-City-of-South-Bend-EXECUTIVE-ORDER-NO.-2-2013.md
Last active April 18, 2019 17:56
2013 South Bend, Indiana EXECUTIVE ORDER NO. 2-2013 permalink copy here
@rebeccawilliams
rebeccawilliams / selfrespect.md
Last active February 25, 2018 00:40
On Self-Respect: Joan Didion’s 1961 Essay from the Pages of Vogue

On Self-Respect

Joan Didion’s 1961 Essay from the Pages of Vogue

Once, in a dry season, I wrote in large letters across two pages of a notebook that innocence ends when one is stripped of the delusion that one likes oneself. Although now, some years later, I marvel that a mind on the outs with itself should have nonetheless made painstaking record of its every tremor, I recall with embarrassing clarity the flavor of those particular ashes. It was a matter of misplaced self-respect.

I had not been elected to Phi Beta Kappa. This failure could scarcely have been more predictable or less ambiguous (I simply did not have the grades), but I was unnerved by it; I had somehow thought myself a kind of academic Raskolnikov, curiously exempt from the cause-effect relationships that hampered others. Although the situation must have had even then the approximate tragic stature of Scott Fitzgerald's failure to become president of the Princeton Triangle Club, the day that I did not make Phi Beta Kappa nevertheless

The Reader As Artist

By Toni Morrison

The words on the page are only half the story, says Toni Morrison. The rest is what you bring to the party.

Mr. Head awakened to discover that the room was full of moonlight. He sat up and stared at the floor boards—the color of silver—and then at the ticking on his pillow, which might have been brocade, and after a second, he saw half of the moon five feet away in his shaving mirror, paused as if it were waiting for his permission to enter. It rolled forward and cast a dignifying light on everything. The straight chair against the wall looked stiff and attentive as if it were awaiting an order and Mr. Head's trousers, hanging to the back of it, had an almost noble air, like the garment some great man had just flung to his servant….

The above opening to a short story by Flannery O'Connor is, to readers content with grasping information, straightforward enough. It introduces a character, Mr. Head, waking up at night and noticing moonlight. To readers who enjoy

@rebeccawilliams
rebeccawilliams / colorfulasciigreeting.md
Last active February 25, 2017 21:25
lolcat gem + editing your .bash_profile = a rainbow greeting every time you open a terminal window

install homebrew if you don't already have it.

install the lolcat gem:

gem install lolcat

then

open .bash_profile

Appendix A: Sample Dataset Metadata

Standard Dataset Fields

The U.S. federal government has created the Project Open Data metadata schema standard to implement the federal open data policy. The Project Open Data schema is based on the international DCAT metadata schema used by open data programs around the world and has been mapped to many standards. The Project Open Data schema must be preseneted as a JSON file to be ingested by Data.gov. This schema is natively available with many open data portal providers including: Azavea, Esri Open Data, NuCivic's DKAN, OpenGov, and Socrata, and is easily added to CKAN sites with an extension or can be generated on an ad hoc basis with these tools.

Field | Label | Definition | Required

@rebeccawilliams
rebeccawilliams / opendatapolicies.csv
Last active June 21, 2016 04:30
Open Data Policies by Type, see more at: https://sunlightfoundation.com/policy/opendatamap/ & https://docs.google.com/spreadsheets/d/1ETZuGZBK24J2viZdxmhyIlIKiJuytAu3Bh1ofo_HVBw/; if there was an amendment/new EO I counted it again, also DC is listed as a city here w city-counties being counted as counties
year how many ordinance or law resolution exective order or directive admin memo, IT policy, etc city county state
2006 1 0 0 0 1 1 0 0
2009 3 2 0 1 0 2 1 0
2010 1 1 0 0 0 0 1 0
2011 4 2 1 0 1 1 2 1
2012 7 5 0 2 0 5 1 1
2013 16 7 0 5 4 8 3 5
2014 20 11 1 6 2 14 3 3
2015 8 1 1 3 3 8 0 0
2016 9 2 4 3 0 8 0 1
@rebeccawilliams
rebeccawilliams / techladyAPI.md
Last active May 27, 2016 12:25
#TechLady API links
@rebeccawilliams
rebeccawilliams / futurelaw2016.md
Last active May 20, 2016 21:13
#FutureLaw2016 Links