Skip to content

Instantly share code, notes, and snippets.

@konklone
Forked from anonymous/floor-updates.rb
Last active December 12, 2015 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konklone/4692782 to your computer and use it in GitHub Desktop.
Save konklone/4692782 to your computer and use it in GitHub Desktop.
Messing with the category codes in the House Clerk's bulk floor update downloads at http://clerk.house.gov/floorsummary/floor-download.aspx
# Each category code that appears in 2012, its frequency, and the first 100 characters of the first example of each.
H21000 (78): Today's prayer was offered by the House Chaplain, Rev. Patrick J. Conroy.
H60100 (51): On motion to adjourn Agreed to by voice vote.
H8D000 (1013): Without objection, H.R. 3408 was laid on the table.
H38310 (283): Motion to reconsider laid on the table Agreed to without objection.
H23210 (6): On approving the Journal Agreed to by voice vote.
H37100 (93): On agreeing to the resolution Agreed to without objection.
H30000 (410): Considered as privileged matter. H. Res. 514 — "Providing for the hour of meeting of the House."
H2A100 (1): Call of the House Quorum responded: 378 present (Roll no. 1).
H20100 (158): The House convened, returning from a recess continuing the legislative day of January 3.
H61000 (156): The Speaker announced that the House do now adjourn Sine Die.
H2C000 (68): PLEDGE OF ALLEGIANCE - The Chair designated Mr. Culberson to lead the Members in reciting the Pledge
H60000 (51): Mr. Garamendi moved that the House do now adjourn.
H25100 (23): Mr. Scott (SC) filed a report from the Committee on Rules on H. Res. 515.
H37300 (211): On motion to suspend the rules and pass the bill, as amended Agreed to by voice vote.
H26200 (29): The Speaker announced that votes on suspensions, if ordered, will be postponed until 6:30 p.m. today.
H41400 (8): The previous question was ordered without objection.
H40150 (7): Mr. Walz (MN) moved that the House instruct conferees.
H36100 (17): Mr. Perlmutter moved to recommit with instructions to Natural Resources.
H35000 (41): The previous question was ordered pursuant to the rule.
H32111 (181): On agreeing to the Grijalva amendment; Failed by recorded vote: 177 - 247 (Roll no. 385).
H32400 (9): The Speaker designated the Honorable Charles F. Bass to act as Chairman of the Committee.
H32020 (10): House resolved itself into the Committee of the Whole House on the state of the Union pursuant to H.
H41931 (13): Motion to reconsider laid on the table Agreed to without objection.
H41610 (15): On motion that the House instruct conferees Agreed to by the Yeas and Nays: 386 - 34, 1 Present (Roll
H23100 (57): The Speaker announced approval of the Journal. Pursuant to clause 1, rule I, the Journal stands appr
H24900 (1): The House received a communication from Wilson Livingood wherein he resigns as the Sergeant-at-Arms e
H22000 (65): The Speaker designated the Honorable Steve Womack to act as Speaker pro tempore for today.
H37220 (49): At the conclusion of debate, the Yeas and Nays were demanded and ordered. Pursuant to the provisions
H30300 (218): Mr. Young (AK) moved to suspend the rules and pass the bill, as amended. H.R. 2938 — "To prohibit cer
H24100 (14): The Speaker laid before the House a message from the President transmitting a notification of the con
H24500 (46): The House received a message from the Clerk. Pursuant to the permission granted in Clause 2(h) of Rul
H36110 (17): On motion to recommit with instructions Failed by recorded vote: 188 - 234 (Roll no. 386).
H8A000 (17): The previous question on the motion to recommit with instructions was ordered without objection.
H34400 (10): The House adopted the amendment in the nature of a substitute as agreed to by the Committee of the Wh
H32600 (10): The House rose from the Committee of the Whole House on the state of the Union to report H.R. 2578.
H32140 (8): By unanimous consent, the Hanabusa amendment was withdrawn.
H3A100 (209): An amendment, offered by Ms. Hanabusa, numbered 6 printed in House Report 112-539 to exclude the sta
H29400 (10): Mr. Hastings (WA) asked unanimous consent that when the House adjourns today, it adjourn to meet at 9
H32700 (10): Committee of the Whole House on the state of the Union rises leaving H.R. 4480 as unfinished business
H32341 (10): On motion that the committee rise Agreed to by voice vote.
H32340 (10): Mr. Hastings (WA) moved that the committee rise.
H24200 (26): The House received a message from the Senate. The Senate passed S. 3314.
H29800 (18): Mr. Cantor asked unanimous consent That, when the House adjourns on Thursday, June 21, 2012, it adjou
H32050 (10): The House resolved into Committee of the Whole House on the state of the Union for further considerat
H24400 (13): The House received a communication from C.A. Dutch Ruppersberger, Member of Congress. Mr. Ruppersberg
H32500 (2): Mr. Duncan (TN) raised a point of order against the content of the measure. Mr. Duncan (TN) stated th
H32130 (15): Mr. Latham raised a point of order against the Clarke (MI) amendment. Mr. Latham stated that the amen
H37210 (48): At the conclusion of debate, the chair put the question on the motion to suspend the rules. Mr. Thomp
H40140 (14): Mr. Farenthold moved that the House suspend the rules and agree to the Senate amendment.
H25200 (2): Conference report H. Rept. 112-557 filed.
H26300 (5): United States-China Economic and Security Review Commission - Pursuant to Sec. 1238(b)(3) of the Floy
H36710 (1): On motion to refer to Oversight and Government and Reform Failed by the Yeas and Nays: 172 - 251 (Rol
H36700 (1): Mr. Dingell moved to refer to Oversight and Government Reform.
H30200 (24): Mr. Shuster asked unanimous consent to discharge from committee and consider.
H42510 (2): On agreeing to the conference report Agreed to by the Yeas and Nays: 373 - 52 (Roll no. 451).
H40210 (2): The House proceeded to consider the conference report H. Rept. 112-557 as unfinished business.
H32311 (2): On motion to rise and report Agreed to by voice vote.
H32310 (2): Mr. Latham moved for the Committee of the Whole to rise and report.
H40200 (2): Mr. Mica brought up conference report H. Rept. 112-557 for consideration under the provisions of H. R
H36510 (1): On motion to table the measure Agreed to by the Yeas and Nays: 259 - 161 (Roll no. 443).
H36500 (1): Mr. Webster moved to table the measure.
H24800 (5): The House received a communication from Representative McCotter wherein he resigns as a member of the
H27200 (2): Mr. Jordan asked unanimous consent that the Committee on Oversight and Government have until midnight
H38900 (1): The Clerk was authorized to correct section numbers, punctuation, and cross references, and to make o
H40110 (1): Mr. Huizenga (MI) asked unanimous consent that the House agree to the Senate amendment.
H38800 (23): The title of the measure was amended. Agreed to without objection.
H34111 (6): On agreeing to the Foxx amendment; Agreed to by voice vote.
H34180 (4): On ordering the previous question on the amendment (A002) and on the resolution Agreed to by the Yeas
H34140 (1): By unanimous consent, the Foxx amendment was withdrawn.
H1B000 (5): House agreed to Senate amendment with amendment pursuant to H. Res. 750.
H24600 (1): The House received a communication from the Honorable Frank C. Guinta. Mr. Guinta submitted his resig
H36610 (1): On question of consideration of the Resolution Agreed to by voice vote.
H28900 (3): Mr. Harold Rogers asked unanimous consent that Representative-elect Thomas Massie be permitted to tak
H40142 (2): At the conclusion of debate, the Yeas and Nays were demanded and ordered. Pursuant to the provisions
H30520 (1): By request of Mr. Smith (TX) the House passed over the measure without prejudice.
H30500 (2): Called up from the Private Calendar for consideration.
H41800 (14): The Speaker appointed conferees - from the Committee on Veterans' Affairs for consideration of secs.
H41541 (1): On motion to permit closed conference meetings Agreed to by the Yeas and Nays: 351 - 53 (Roll no. 625
H41540 (1): Mr. McKeon moved to permit closed conference meetings.
H40141 (8): At the conclusion of debate, the chair put the question on the motion to suspend the rules. Mr. Scott
irb(main):002:0> cs = FloorUpdate.where(year: 2012).distinct(:category); cs.size
=> 80
irb(main):003:0> cs
=> ["H21000", "H60100", "H8D000", "H38310", "H23210", "H37100", "H30000", "H2A100", "H20100", "H61000", "H2C000", "H60000", "H25100", "H37300", "H26200", "H41400", "H40150", "H36100", "H35000", "H32111", "H32400", "H32020", "H41931", "H41610", "H23100", "H24900", "H22000", "H37220", "H30300", "H24100", "H24500", "H36110", "H8A000", "H34400", "H32600", "H32140", "H3A100", "H29400", "H32700", "H32341", "H32340", "H24200", "H29800", "H32050", "H24400", "H32500", "H32130", "H37210", "H40140", "H25200", "H26300", "H36710", "H36700", "H30200", "H42510", "H40210", "H32311", "H32310", "H40200", "H36510", "H36500", "H24800", "H27200", "H38900", "H40110", "H38800", "H34111", "H34180", "H34140", "H1B000", "H24600", "H36610", "H28900", "H40142", "H30520", "H30500", "H41800", "H41541", "H41540", "H40141"]
irb(main):005:0> cs = cs.map {|c| FloorUpdate.where(year: 2012, category: c).count}
=> [78, 51, 1013, 283, 6, 93, 410, 1, 158, 156, 68, 51, 23, 211, 29, 8, 7, 17, 41, 181, 9, 10, 13, 15, 57, 1, 65, 49, 218, 14, 46, 17, 17, 10, 10, 8, 209, 10, 10, 10, 10, 26, 18, 10, 13, 2, 15, 48, 14, 2, 5, 1, 1, 24, 2, 2, 2, 2, 2, 1, 1, 5, 2, 1, 1, 23, 6, 4, 1, 5, 1, 1, 3, 2, 1, 2, 14, 1, 1, 8]
irb(main):026:0> xs.sort
=> [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 5, 5, 5, 6, 6, 7, 8, 8, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 13, 13, 14, 14, 14, 15, 15, 17, 17, 17, 18, 23, 23, 24, 26, 29, 41, 46, 48, 49, 51, 51, 57, 65, 68, 78, 93, 156, 158, 181, 209, 211, 218, 283, 410, 1013]
irb(main):027:0> xs.sum
=> 3966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment