I’d like a dataset with columns for the name of the bill introduced, date introduced, title, subject, number of co-sponsors, etc.
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.
I’ve researched a couple options but have tun into problems with both:
ProPublicaR Congress API — 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: “no method for [function] applied to an object of class list”. I’m also unsure how comprehensive the data is from this source.
GovInfo bulk data — this site has data on congressional bills, but the bills come in individual XML files and I don’t know how to get those into R (and then into a format in which I can analyze the bills as I described above)
Thanks!
submitted by /u/Rude_Inside_4089
[link] [comments]