Eating and Tweeting: What Social Media Reveals about Neighborhood Attitudes on Food

U-M researchers turned to Twitter to see whether online discussions about food can help inform policy makers.

12:07 PM

Author | Kelly Malcom

Man drinking coffee and looking at cell phone

Whether it be arguments about the merits of pumpkin spice or who makes the best chicken sandwich, food is an ever-popular subject on social media. Michigan Medicine researchers turned to Twitter to see what this online culinary discussion reveals about the people behind the posts, and whether the platform could serve as a real-time tool for assessing information valuable to public health researchers.

"We wondered whether Twitter-based analysis could help us understand communities better," says V.G. Vinod Vydiswaran, Ph.D., assistant professor in the Department of Learning Health Sciences at the U-M Medical School and assistant professor of information at the U-M School of Information, who is lead author on a new paper in the Journal of the American Medical Informatics Association.

Researchers used community-based surveys to gather demographic and health-related behavior information that might help explain health status and disparities between groups. For Vydiswaran and an interdisciplinary group of U-M researchers, the focus was on food, and whether there were differences between how groups of residents of a given region discussed food.

Their analysis began by scoring different food-related keywords, including types of foods, modes of preparation, and popular restaurants based on their healthiness. Foods were defined on a scale of very unhealthy to very healthy, based on dietary attributes such as trans-fat or added sugar.

Social determinants of health, such as neighborhood walkability, mentions of food deserts, safety concerns — these kinds of references show up in tweets.
V.G. Vinod Vydiswaran, Ph.D.

Next, using Twitter's API, an interface which allows software access to Twitter's data, the group gathered geo-tagged tweets from more than 1,200 census tracts around the Detroit area. With a data set of more than 800,000 food-related tweets from over 62,000 unique tweeters, the group conducted sentiment analysis, determining whether the content of each tweet trended negative or positive. They removed tweets belonging to celebrity influencers or marketing tweets that might artificially affect the online conversation.

"We found differences in the kinds of foods people tweet about in neighborhoods," says Vydiswaran, with the top keywords in more affluent neighborhoods including terms like Starbucks, coffee, and vegan versus terms like pizza, tacos, and bacon in less affluent neighborhoods. Net healthiness scores were best explained by affluence, fast food density, and the number of tweets, with less affluent areas discussing unhealthier foods.

Next, they looked for correlations between Twitter content and neighborhood demographics, finding that neighborhoods with a higher percentage of African-American residents had more positive sentiment about food, both healthy and unhealthy. Says Vydiswaran, "We hypothesize that one possible reason behind this is that the enjoyment of food is a part of the culture."

They also found that more affluent areas had less positive sentiment about food than other topics, with less affluent areas having more positive food sentiment.

Finally, they looked at the correlation in food-related tweeting and mortality rates from the top five obesity-related causes of death: diabetes, heart failure, kidney failure, stroke and heart disease.

 "In the multivariate regression analysis, accounting for other neighborhood measures such as affluence and percentage African American, our Twitter-based food healthiness measure was still significantly correlated with one obesity-linked condition, heart failure," says Vydiswaran.

The authors note that tweets are an imperfect measure of behavior (for example, they don't necessarily account for the amount of food consumed) and that Twitter users may not represent the total population of an area. However, more traditional surveys also suffer from bias and are often much harder to conduct than social media analysis.

"We are proposing using social media as an additional source of input for policymakers to understand neighbors," he says. "Social determinants of health, such as neighborhood walkability, mentions of food deserts, safety concerns — these kinds of references show up in tweets and could act as additional input for researchers wanting to understand how they affect health more generally."

The research was funded by U-M's MCubed program and included Daniel M. Romero, Ph.D., Xinyan Zhao, Deahan Yu, Jin Xiu Lu, Bradley Iott, and Tiffany Veinot, M.L.S., Ph.D., of the U-M School of Information; Iris Gomez-Lopez, Ph.D., of the U-M Institute for Social Research; Ana Baylin, M.D., Dr.P.H., Erica C. Jansen, M.P.H., Ph.D., Philippa Clarke, Ph.D., and Veronica J. Berrocal, Ph.D., of the U-M School of Public Health; and Robert Goodspeed, Ph.D., of the U-M Taubman College of Architecture and Urban Planning.

Uncovering the relationship between food-related discussion on Twitter and neighborhood characteristics, Journal of the American Medical Informatics Association, https://doi.org/10.1093/jamia/ocz181


More Articles About:

Health Tech Nutrition Health Care Delivery, Policy and Economics Race and Ethnicity Social Status Diabetes Cardiovascular: Diseases & Conditions
Health Lab word mark overlaying blue cells

Health Lab

Explore thousands of health news & research stories by visiting the Health Lab homepage for more.

Media Contact

University Hospital at U-M Health in the spring with flowering trees in foreground and Survival Flight helicopter visible

Public Relations

Department of Communication at Michigan Medicine

[email protected]

734-764-2220

Stay Informed

Want top health & research news weekly? Sign up for Health Lab’s newsletters today!

Subscribe

Featured News & Stories

A family discussing end of life wishes during Thanksgiving
Health Lab

How to discuss health care and end-of-life wishes during the holidays

The holidays are a great time to discuss end-of-life decisions. Learn the importance of having a health care power of attorney & discussing it with your family.
The Parade Company artist Kennedy Perkins, wearing blue shirt, paints the “Little Victors” sign for the new C.S. Mott Children’s Hospital float in America’s Thanksgiving Parade.
Health Lab

From patient to artist: A project close to her heart

More than two decades after undergoing lifesaving surgery for complex heart conditions -- ventricular septal defect and discontinuous left pulmonary artery -- an artist is bringing hospital’s new Thanksgiving parade float to life
On the left, a woman sits in a hospital gown with her scar showing on her chest. On the right, two women pose each wearing medals from athletic competition.
Health Lab

New heart, three medals and a shot at the world stage

After a heart transplant for heart failure caused by congenital heart disease, woman won three medals at the Transplant Games and will compete on Team USA in 2027
A physician’s hands on a laptop with icons representing legal forms and justice symbols (scales and gavel) in the air
Health Lab

Court appointed medical guardian study reveals role in care of highly vulnerable older adults

Court can appoint medical guardians for patients who didn’t designate someone to make decisions for them, when they can no longer make their own decisions. A study shows high levels of vulnerability in this population, but especially those appointed professional guardians.
Medicaid magnifying glass
Health Lab

What’s changing in Medicaid and what can you do?

With eligibility rules for people with lower incomes changing in every state, it’s important to stay up to date, seek trustworthy sources and not fall for misinformation
Woman in pink shirt paints a float character with bright blue paint.
Health Lab

After 13 years of IV nutrition, teen finds freedom to just be a kid

Born with a rare intestinal condition called gastroschisis, Mackenzie spent much of her childhood at the hospital. Today, the 15-year-old is making honor roll and looking ahead to a future in nursing.