Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 2.07 KB

Readme.md

File metadata and controls

19 lines (11 loc) · 2.07 KB

Civil Rights Coverage in the NYT Over Time

Track the number of news stories about African American civil rights issues over the decades. We track the coverage using a simple keyword search. Article featuring any of the following keywords are taken to deal with black civil rights: affirmative action, racial, voting rights, busing, african american, black, negro, racial discrimination, civil rights, segregation

You can track coverage aggregated over an entire year on the NYT Chronicle.

If you would like to get your own data, start by getting a NYT Article Search API key. Then you can use the R package, rtimes, using the following script (Output: Quarterly Data) or the R package jsonlite using the following script. You can plot the data using the following script. (See the graph (pdf).)

Note

The scripts track the number of articles containing the keyword search. But sometimes a more apt unit of measurement is the proportion of articles mentioning the search term. The point is especially important over great lengths of time as, over time, the number of articles published in the NYT has been increasing. To get the proportion of articles, you need to use the 'source facet.' For instance, if you look at the end of the output given by the following API Request, you will see the total number of articles from various sources (Reuters, AP, NYT, Internet Video Archive, CNBC etc.) for the specified date (2015-07-10).

License

Scripts are released under the MIT License.