{"ok": true, "database": "cftracker", "query_name": "senator_alignment", "rows": [["Joni Albrecht", "17", 1, 1, 1, 100.0], ["Bruce Bostelman", "23", 1, 1, 1, 100.0], ["Ashlei Spivey", "13", 10, 39, 32, 82.1], ["Jared Storm", "23", 20, 145, 115, 79.3], ["Tony Sorrentino", "39", 29, 166, 131, 78.9], ["Jason Prokop", "27", 29, 128, 100, 78.1], ["Dunixi Guereca", "7", 14, 81, 63, 77.8], ["Paul Strommen", "47", 23, 132, 102, 77.3], ["Bob Hallstrom", "1", 30, 179, 138, 77.1], ["Woody Wordekemper", "15", 24, 141, 108, 76.6], ["John Fredrickson", "20", 36, 187, 142, 75.9], ["Stan Clouse", "37", 27, 153, 116, 75.8], ["John Cavanaugh", "9", 30, 115, 87, 75.7], ["Jane Raybould", "28", 13, 70, 53, 75.7], ["Megan Hunt", "8", 13, 69, 52, 75.4], ["Dan Lonowski", "33", 16, 121, 91, 75.2], ["Glen Meyer", "17", 16, 104, 78, 75.0], ["Myron Dorn", "30", 10, 74, 55, 74.3], ["Tanya Storer", "43", 24, 132, 98, 74.2], ["Mike Jacobson", "42", 33, 185, 137, 74.1], ["Machaela Cavanaugh", "6", 23, 138, 102, 73.9], ["Robert Dover", "19", 33, 171, 125, 73.1], ["Wendy DeBoer", "10", 25, 160, 117, 73.1], ["Terrell McKinney", "11", 20, 115, 84, 73.0], ["Jana Hughes", "24", 33, 196, 143, 73.0], ["Barry DeKay", "40", 30, 195, 142, 72.8], ["Bob Andersen", "49", 19, 92, 67, 72.8], ["Carolyn Bosn", "25", 37, 208, 151, 72.6], ["Victor Rountree", "3", 9, 40, 29, 72.5], ["Dan Quick", "35", 18, 51, 37, 72.5], ["Tom Brandt", "32", 28, 156, 113, 72.4], ["Brad von Gillern", "4", 38, 201, 145, 72.1], ["Rick Holdcroft", "36", 28, 162, 116, 71.6], ["John Arch", "14", 24, 131, 93, 71.0], ["Teresa Ibach", "44", 31, 187, 132, 70.6], ["Dave Murman", "38", 25, 166, 117, 70.5], ["Ben Hansen", "16", 27, 165, 116, 70.3], ["Brian Hardin", "48", 27, 161, 113, 70.2], ["Eliot Bostar", "29", 23, 90, 63, 70.0], ["George Dungan", "26", 38, 172, 120, 69.8], ["Mike Moser", "22", 30, 145, 101, 69.7], ["Rita Sanders", "45", 31, 135, 94, 69.6], ["Loren Lippincott", "34", 29, 174, 121, 69.5], ["Beau Ballard", "21", 30, 162, 112, 69.1], ["Christy Armendariz", "18", 19, 144, 99, 68.8], ["Margo Juarez", "5", 6, 31, 21, 67.7], ["Rob Clements", "2", 23, 127, 85, 66.9], ["Merv Riepe", "12", 33, 191, 127, 66.5], ["Kathleen Kauth", "31", 33, 164, 109, 66.5], ["Danielle Conrad", "46", 33, 179, 114, 63.7], ["Lynne Walz", "15", 3, 2, 1, 50.0], ["Tony Vargas", "7", 3, 6, 3, 50.0], ["Anna Wishart", "27", 7, 7, 2, 28.6], ["Lou Ann Linehan", "39", 3, 4, 1, 25.0], ["Tom Brewer", "43", 2, 5, 1, 20.0], ["Mike McDonnell", "5", 4, 8, 1, 12.5], ["Ray Aguilar", "35", 7, 10, 1, 10.0], ["Jen Day", "49", 9, 13, 1, 7.7], ["Julie Slama", "1", 9, 15, 1, 6.7], ["Justin Wayne", "13", 1, 1, 0, 0.0], ["John Lowe", "37", 6, 10, 0, 0.0], ["Carol Blood", "3", 3, 0, 0, null]], "truncated": false, "columns": ["senator", "district", "donor_organizations", "vote_donor_pairs", "pairs_voted_with_donor", "percent_with_donor"], "query": {"sql": "select l.name as senator, l.district, count(distinct g.principal) as donor_organizations,\n       sum(vr.option in ('yes', 'no')) as vote_donor_pairs,\n       sum(op.clear_position = 'support' and vr.option = 'yes' or op.clear_position = 'oppose' and vr.option = 'no') as pairs_voted_with_donor,\n       round(100.0 * sum(op.clear_position = 'support' and vr.option = 'yes' or op.clear_position = 'oppose' and vr.option = 'no')\n             / nullif(sum(vr.option in ('yes', 'no')), 0), 1) as percent_with_donor\nfrom senator_org_gifts g\njoin org_positions op on op.principal = g.principal and op.clear_position is not null\njoin bill_final_votes fv on fv.legislature = op.legislature and fv.bill = op.bill\njoin vote_records vr on vr.vote_id = fv.vote_id and vr.person_id = g.person_id\njoin legislators l on l.person_id = g.person_id\ngroup by g.person_id\norder by percent_with_donor desc", "params": {}}, "error": null, "private": false, "allow_execute_sql": false, "query_ms": 402.0577699993737, "source": "FEC, Nebraska Accountability and Disclosure Commission, Clerk of the Legislature, Open States", "source_url": "https://www.fec.gov/data/", "license": "Public records"}