{"id":22230,"date":"2023-09-08T02:27:44","date_gmt":"2023-09-08T00:27:44","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/congressional-data-preferably-with-bills-introduced\/"},"modified":"2023-09-08T02:27:44","modified_gmt":"2023-09-08T00:27:44","slug":"congressional-data-preferably-with-bills-introduced","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/congressional-data-preferably-with-bills-introduced\/","title":{"rendered":"Congressional Data, Preferably With Bills Introduced"},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>I\u2019d like a dataset with columns for the name of the bill introduced, date introduced, title, subject, number of co-sponsors, etc.<\/p>\n<p>I want to analyze (in R) congressional action related to Taiwan, so I hope to get a dataset of bills from, say, the last 5-10 congresses and evaluate how many were passed, what share had bipartisan support, and temporal trends. <\/p>\n<p>I\u2019ve researched a couple options but have tun into problems with both:<\/p>\n<p>ProPublicaR Congress API \u2014 I have the API working in R, but its functions return lists, the function it suggests to turn the output into a data frame returns an error: \u201cno method for [function] applied to an object of class list\u201d. I\u2019m also unsure how comprehensive the data is from this source.<\/p>\n<p>GovInfo bulk data \u2014 this site has data on congressional bills, but the bills come in individual XML files and I don\u2019t know how to get those into R (and then into a format in which I can analyze the bills as I described above)<\/p>\n<p>Thanks!<\/p>\n<\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/Rude_Inside_4089\"> \/u\/Rude_Inside_4089 <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/16cv5rx\/congressional_data_preferably_with_bills\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/16cv5rx\/congressional_data_preferably_with_bills\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-22230 jlk' href='javascript:void(0)' data-task='like' data-post_id='22230' data-nonce='65e0e39b87' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-22230 lc'>0<\/span><\/a><\/div><\/div> <div class='status-22230 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>I\u2019d like a dataset with columns for the name of the bill introduced, date introduced, title, subject,&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-22230","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/22230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=22230"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/22230\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=22230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=22230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=22230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}