How this works
The articles
The starting point is the New York Times Archive API, which indexes every article the paper has published. I keep print articles only, since the question is what the paper chose to put in front of readers, and drop listings, obituaries, reviews, corrections and sections like sports and style. That leaves the paper's news and opinion pages: roughly 1,000–1,200 articles a week through the mid-2000s and about 400–500 today. The index lists some print articles twice (most of 2006, and a few percent of other years before 2011); those copies are removed.
Which articles are about federal politics
A keyword and index-term filter first sets aside articles with no plausible political content. Claude then labeled a random sample of about 14,000 articles from 1985 to 2026 by scope (federal politics, US foreign policy, state and local, foreign, not political), the actors at the center of the story, and the kind of story. A classifier trained on those labels, using a text embedding of each article's headline, summary and opening paragraph, labels the rest, including all of 1981–84, which Claude's sample does not cover. It agrees with Claude's labels on political versus not about 90% of the time. One rule adjusts its output: an article it files as state or local politics counts as federal when its headline, summary or opening paragraph names a federal actor, such as the president, Congress, a federal agency or a federal court. This site uses federal politics and US foreign policy.
Finding stories
Two articles are linked when they ran within a week of each other and their embeddings are close enough that they are almost always about the same event. Because the summaries the Times attached to articles changed length over the decades, which shifts these similarity scores, each year's scores are first recentered on that year's baseline, so the same bar applies in every era. A community-detection algorithm (Leiden) then finds groups of densely linked articles. A group is split wherever coverage stops for more than 45 days, and groups with fewer than five articles are dropped. A group that still runs longer than 90 days, usually because coverage never paused (a general-election campaign, a war), is clustered again more finely until each piece is a discrete event: the conventions, the debates, election night. Those are the stories the site ranks and charts. For the biggest stories, Claude also read each story's articles, removed ones that did not belong, and split off separate events that had been grouped in.
Long sagas such as the Lewinsky affair run through several distinct events, so a second step links related stories into storylines when the people and organizations the Times's indexers tagged overlap strongly and the stories ran within 30 days of each other. Each story's page lists the related stories in its storyline.
Measuring attention
For every week, a story's share of news pages is its articles divided by all news and opinion articles in print that week, and its share of the front page is the same for page-one articles. Shares, rather than article counts, make eras comparable: the paper printed far fewer articles in 2020 than in 1990, and the front page, which has held steady at 40–50 articles a week, is the most stable yardstick of all. Total attention adds the weekly shares across a story's run, so 1.0 equals one full week of the paper.
Titles and descriptions
Nearly all of the 500 stories with the most total attention, and several hundred smaller ones, have titles, descriptions and a policy area written by Claude. Claude picks from the Comparative Agendas Project major topics, plus elections; for filtering and charts these are grouped into eight broad areas (foreign policy and defense together, since the line between them is not drawn consistently), because most of the narrow topics have too few big stories to chart. The detailed topic appears on each story's page. Captions are written from each story's most representative headlines and summaries. Stories without a caption show their most typical headline instead. Their policy area, and the topic breakdowns on the timeline and the Eras page, come from a classifier trained on the captioned stories; it picks out some areas less reliably than others, and the site notes where. Where the material looked like more than one story grouped together by mistake, the page says so.
Caveats
- The method is automatic and impartial, not perfect. Some stories combine events that ran at the same time, some single events are split in two, and storylines sometimes link stories that are only loosely related.
- The first filter misses about 15% of federal political articles, mostly short, low-profile items. Those rarely belong to a sustained story, but totals for "all federal coverage" are undercounts.
Data provided by The New York Times.