Skip to main content

Section 5.5 Mini-Project: Analyzing Legislation

In a democracy, or even a state which retains enough characteristics of a democracy that there is a legislative process, social justice advocates often must monitor trends in legislation that is proposed and passed. In the U.S., the legislative branch of the government was designed by the founders to be the most powerful, having the ability to control the number of justices on the Supreme Court and confirm justices, as well as overriding vetoes and policy of the executive branch.
Access to data is itself a social justice issue. For example, researchers over the last decade have monitored public Twitter posts to analyze how people feel about various issues, or generally what people are talking about (a process called "sentiment analysis"). Previously, access to \(1\%\) of tweets on the platform had been free through Twitter's API, a collection of methods for accessing Twitter's data. However, in March 2023, Elon Musk and other Twitter decision-makers raised the price for access to \(0.3\%>\) of tweets to $42,000 a month 100 , a cost that one researcher said no "academic on the planet...could afford."
More directly related to legislative analysis, proposed legislation is usually listed on state and territorial government webpages, but one would have to visit all of these 56+ pages, find a way of downloading the data into a spreadsheet, and continually monitor each of the pages for new bills in order to keep up with proposed legislation nationwide. Websites such as LegiScan 101  make this easier by aggregating data from all state legislatures, but in order to get this data into a form that can be imported into data analysis software, some knowledge of data scraping/scripting is required, and for large queries, paid API access may be necessary.
For these reasons, we use data that has already been collected and cleaned by nonprofit or government sources. We have first accessed the website "CRT Forward Tracking Project" 102 , which tracks bills seeking to ban or limit discussion of historical and systemic racism in the United States. This website does not provide a way of downloading its data, so we try a couple of low-effort tricks before simply copy-pasting their entire table into an Excel file. In this chapter, you've seen how one might analyze legislation affecting transgender and nonbinary rights. Now it's your turn: download this Excel file and use it to answer the following questions.

Exercises Exercises

1.

www.wired.com/story/twitter-data-api-prices-out-nearly-everyone/
legiscan.com/legiscan
crtforward.law.ucla.edu/map/