Skip to content

Instantly share code, notes, and snippets.

Chris Keller chrislkeller

Block or report user

Report or block chrislkeller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View oc-voter-reg-bot-README.md

NOTE: I'll work at fleshing this out a bit better

GOAL: Retrieve, catalog and display a daily record of voter registration figures in Orange County because a spokesperson for the registrar's office said they are unable to provide the figures.

TO PULL THIS OFF:

  • Determine when the figures are updated each day
    • HOW: Phone conversation with registrar, reporter
  • Navigate to the O.C. URL that contains the daily figures
    • Create a scheduler
View oc-voter-reg-bot-README.md

NOTE: I'll work at fleshing this out a bit better

GOAL: Retrieve, catalog and display a daily record of voter registration figures in Orange County because a spokesperson for the registrar's office said they are unable to provide the figures.

TO PULL THIS OFF:

  • Determine when the figures are updated each day
    • HOW: Phone conversation with registrar, reporter
  • Navigate to the O.C. URL that contains the daily figures
    • Create a scheduler
View gz_2010_us_500_11_5m.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View texas_congressional_districts.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrislkeller
chrislkeller / README.md
Created Aug 2, 2019
Some Department of Homeland Security data and sources regarding immigration removals and returns
View README.md

Regarding the csv data:

  • 1 Removals are the compulsory and confirmed movement of an inadmissible or deportable alien out of the United States based on an order of removal. An alien who is removed has administrative or criminal consequences placed on subsequent reentry owing to the fact of the removal.
  • 2 Returns are the confirmed movement of an inadmissible or deportable alien out of the United States not based on an order of removal.
  • 3 Includes the 15 months from July 1, 1975
@chrislkeller
chrislkeller / _ridgecrest-earthquake-sequence-midi-file.ipynb
Created Jul 11, 2019
July 2019 Ridgecrest earthquakes plotted to midi file using Michael Corey's miditime library
View _ridgecrest-earthquake-sequence-midi-file.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View earthquake-aftershocks-timeline.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View setting-up-a-virtualenv.md

Setting up a virtualenv

View attorney_general_tenures.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
id,name,post,start_date,end_date,tenure_in_days,presidents_served_under,reason_tenure_ended,source,source_link
3, Jeff Sessions,attorney general,"February 9, 2017","November 7, 2018",637,Donald Trump,"In a letter delivered to the White House, Sessions wrote that he was submitting his resignation at the request of the president, who has been highly critical of his attorney general since he recused himself last year from overseeing the investigation into Russia's interference in the 2016 election and whether the president himself obstructed justice in the matter.",Los Angeles Times,http://www.latimes.com/politics/la-na-pol-sessions-resigns-20181107-story.html
34, Loretta E. Lynch,attorney general,"April 27, 2015","January 20, 2017",635,Barack Obama,,,
82, Eric H. Holder Jr.,attorney general,"February 3, 2009","April 27, 2015",2275,Barack Obama,,,
19, Michael B. Mukasey,attorney general,"November 9, 2007","January 20, 2009",439,George W. Bush,,,
48, Alberto R. Gonzales,attorney general,"February 3, 2005","Septem
You can’t perform that action at this time.