Skip to content

Instantly share code, notes, and snippets.

View chrislkeller's full-sized avatar

Chris Keller chrislkeller

View GitHub Profile
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 August 2, 2019 14:52
Some Department of Homeland Security data and sources regarding immigration removals and returns

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 July 11, 2019 14:12
July 2019 Ridgecrest earthquakes plotted to midi file using Michael Corey's miditime library
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrislkeller
chrislkeller / setting-up-a-virtualenv.md
Last active March 9, 2019 20:00
Setting up a virtualenv

Setting up a virtualenv

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
@chrislkeller
chrislkeller / scotus_data.csv
Last active October 6, 2018 03:31
Data structured from U.S. Senate Supreme Court Nominations: present-1789 located at https://www.senate.gov/pagelayout/reference/nominations/Nominations.htm
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 23 columns, instead of 3. in line 4.
index,nominee,nominated_by,to_replace,nomination_date,days_between,vote,votes_for,votes_against,pct_of_approval_vote,roll_call_vote_number,result,notes,vote_date,congressional_session,presidential_party,majority_party,majority_seats,minority_party,minority_seats,other,total,notes
1,Brett Kavanaugh,President Donald Trump,Kennedy,2018-07-10,88,null,null,null,,null,n/a,,2018-10-06,115,Republican,Republican,51,Democrat,47,2,100,"2 Independents
(both caucus with the Democrats)"
2,Neil M. Gorsuch,President Donald Trump,Scalia,2017-02-01,65,54-45,54,45,54.5%,https://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=115&session=1&vote=00111,Confirmed and served,,2017-04-07,115,Republican,Republican,51,Democrat,47,2,100,2 Independents (both caucus with the Democrats)
3,Merrick B. Garland,President Barack Obama,Scalia,2016-03-16,null,null,null,null,,null,No Action,,null,114,Democrat,Republican,54,Democrat,44,2,100,"2 Independents
(both caucus with the Democrats)"
4,Elena Kagan,President Bar
@chrislkeller
chrislkeller / senate_intelligence_commitee_members_2001_2018.csv
Last active January 2, 2024 23:06
A rundown of members of the U.S. Senate Intelligence Committee between 2001 and the current session though 2018. Data acquired from the Senate Intelligence Committee webpages. Includes member ID and link to bio page on ProPublica's Represent news app
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 10 columns, instead of 9. in line 5.
order_id,congress,years,senator,member_id,party,state,notes,source,pro_publica_represent
51,115th Congress,2017-2018,Angus King,K000383,Democrat,Maine,,https://www.intelligence.senate.gov/about/committee-members-115th-congress-2017-2018,https://projects.propublica.org/represent/members/K000383
71,114th Congress,2015-2016,Angus King,K000383,Democrat,Maine,,https://www.intelligence.senate.gov/about/committee-members-114th-congress-2015-2029,https://projects.propublica.org/represent/members/K000383
91,113th Congress,2013-2014,Angus King,K000383,Democrat,Maine,,https://www.intelligence.senate.gov/about/committee-members-113th-congress-2013-2014,https://projects.propublica.org/represent/members/K000383
17,107th Congress,2001-2002,Barbara A. Mikulski,M000702,Democrat,Maryland,,https://www.intelligence.senate.gov/about/committee-members-107th-congress-2001-2002,https://projects.propublica.org/represent/members/M000702
36,108th Congress,2003-2004,Barbara A. Mikulski,M000702,Democrat,Maryland,,https://www.intelligence
@chrislkeller
chrislkeller / 2017_06_08_comey_transcript.csv
Last active June 10, 2017 05:14
2017_06_08_comey_transcript_structured_text
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
testimony_type,speaker,party,resp_text
opening-statement,burr,gop,"I'd like to call this hearing to order. Director Comey, I appreciate your willingness to appear before the committee today, and more importantly, I thank you for your dedicated service and leadership to the Federal Bureau of Investigation. Your appearance today speaks to the trust we have built over the years, and I'm looking forward to a very open and candid discussion today."
opening-statement,burr,gop,"I'd like to remind my colleagues that we will reconvene in closed session at 1 PM today and I ask that you reserve for that venue any questions that might get into classified information. The director has been very gracious with his time, but the vice chairman and I have worked out a very specific timeline for his commitment to be on the Hill, so we will do everything we can to meet that agreement."
opening-statement,burr,gop,"The Senate Select Committee on Intelligence exists to certify for the other 85 members of the United States Senate an