Nieman Foundation at Harvard
HOME
          
LATEST STORY
Two-thirds of news influencers are men — and most have never worked for a news organization
ABOUT                    SUBSCRIBE
May 4, 2015, 3:41 p.m.
Reporting & Production

The Upshot uses geolocation to push readers deeper into data

The New York Times story changes its text depending on where you’re reading it: “It’s a fine line between a smarter default and being creepy.”

When you’re writing about how place — be that a neighborhood or a city — affects a child’s chances of getting out of poverty, location is obviously central to the story. So when the team at The Upshot wanted to put together a companion interactive piece, they set out to answer the question many readers would ask: What does that look like where I live?

The Best and Worst Places to Grow Up has all the characteristics of other features from The New York Times’ data-and-analysis vertical: clear and concise data visualizations designed to add context and understanding. But what’s different is that the article itself is almost self-aware: It knows what county you’re in and alters the story text depending on your location. Browsing on your phone in Minneapolis, you get Hennepin County, Minnesota. Reading at work in San Antonio, it’s Bexar County, Texas. Pulling up the interactive here at the Lab, you get Middlesex County, Massachusetts:

upshot-geolocation-screenshot-png

The interactive is based off data from a new study by Harvard economists Raj Chetty and Nathaniel Hendren that explores how community can influence a child’s future income. The authors found that a child’s chances of stepping out of poverty can improve depending on where they are raised.

Gregor Aisch, a graphics editor at the Times, told me they decided to use readers’ IP addresses to get a rough sense of their location. (Readers can also opt to tell the Times their location when prompted by their browser of choice, he said.) And why do it? Times graphics editor Amanda Cox said they wanted to cut out the unnecessary steps between readers and the information they want.

“It’s a fine line between a smarter default and being creepy,” she said.

As a practical matter, Aisch said asking readers to supply information can sometimes cut down on their desire to use a news app. Past projects have shown that asking people to enter their Zip code automatically guarantees that a large chunk of people won’t use it, he said. Using geolocation is “a way to ensure that everyone gets their location version whether they want it or not,” he said. (The Times used MaxMind’s GeoIP product.)

Once you have the data, you need to translate it into something useful to users. The Upshot team decided to use prose templates that could be rewritten by a bot based on the data specific to where you live and your neighboring counties. Sharp-eyed readers can see the changes on the page if you enter another county while reading the story.

For example, here’s my hometown:

Screen Shot 2015-05-04 at 1.51.03 PM

And here’s where I live today:

Screen Shot 2015-05-04 at 1.51.16 PM

It’s similar to the L.A. Times’ Quakebot, or The New York Times’ 4th Down Bot, which used historical data to spit out instant analysis on play calling during the NFL season.

In this case, most of the templates are similarly written in a style almost reminiscent of Mad Libs, with the bot swapping in data determined by a readers location. Still, there is some flexibility, the story structure allows for optional sentences that provide more specific insight into an individual county, Cox said. She estimates there are about 20 different variations on the story.

POSTED     May 4, 2015, 3:41 p.m.
SEE MORE ON Reporting & Production
Show tags
 
Join the 60,000 who get the freshest future-of-journalism news in our daily email.
Two-thirds of news influencers are men — and most have never worked for a news organization
A new Pew Research Center report also found nearly 40% of U.S. adults under 30 regularly get news from news influencers.
The Onion adds a new layer, buying Alex Jones’ Infowars and turning it into a parody of itself
One variety of “fake news” is taking possession of a far more insidious one.
The Guardian won’t post on X anymore — but isn’t deleting its accounts there, at least for now
Guardian reporters may still use X for newsgathering, the company said.