Skip to main content

How Twitter can help you avoid getting food poisoning

how twitter can help you avoid getting food poisoning nemesis
nEmesis will figure out if your favorite restaurant will make you puke

There’s nothing worse than the moment nausea sets in when you realize that buffalo chicken wrap you were raving about over lunch has turned against you violently.

Food poisoning is a blanket term for foodborne illnesses, and they can range from short, mild cases to fatal episodes – and researchers from the University of Rochester believe each case is preventable, and that Twitter can help in prevention efforts. 

Related Videos

The researchers came up with a system called nEmesis, which they describe as “an end-to-end system that ‘listens’ for relevant public tweets, detects restaurant visits from geo-tagged Twitter messages, tracks user activity following a restaurant visit, infers the likelihood of the onset of foodborne illness from the text of user communication, and finally ranks restaurants via statistical analysis of the processed data.”

They used 3.8 million tweets from 94,000 Twitter users in the New York area, and they found 480 counts of food poisoning based on tool. nEmesis sorts through tweets by geo-locating keywords that might indicate that someone feels sick after eating – phrases like #upsetstomach and “so sick omg” were used as keywords. 

They used an automated filter to sift through the enormous volume of tweets looking for phrases that indicated illness, and then they used people registered with Amazon’s Mechanical Turk program to lend human eyes to the tweets and find the ones most likely to point to illness. 

The system pinpoints restaurants that might make you sick based on what people who have visited them tweet — and their findings matched up pretty closely with the New York Department of Health’s current grades, indicating that you probably should stay away from that sketchy but cheap ramen place if it doesn’t pass with flying colors.  

This could be enormously helpful if food inspection organizations used nEmesis to determine which restaurants they should check out, since spots with higher incidents of illness could get shut down in a more timely fashion. And it’d be helpful for anyone deciding where they should go out to eat.

Sean Brennan, one of the researchers, says that the nEmesis model could be used to track other issues. “What our model is good at doing is labeling classes of illnesses. In the past we focused mostly on influenza-like illnesses, for example, and this one was about food-borne illnesses, which covers a spectrum of symptoms and causes. A good example of this, and another potential branch of research we were considering, was mental health, particularly depression and anxiety. We think identifying these cases could also be a profound and rewarding contribution to the field.” 

But Brennan notes that the tool is good at getting estimates, not exact results, and that it wouldn’t work well if you were searching for too specific a problem. “If you’re looking for something super-specific (instances of strep throat, for example) then there would probably not be enough positive examples to generate a reliable signal, or be statistically significant,” he says. 

This kind of model can work in other large cities. “Other English-speaking countries would want to fine-tune our original language model to the local vernacular, since a lot of our naïve language mode – that we used to get our original dataset – depended on colorful American phrases,” Brennan says. “And of course non-English-speaking cities would need to change the language entirely. Unfortunately though, this can really only work on the scale of New York or L.A., and not Madison, WI for example. Geotagged tweets are just too sparse (across both space and time) in some places currently, but this will hopefully improve over the coming years.” 

nEmesis isn’t an app yet, but the researchers made something called Germ Tracker based on an older research model. It locates tweets in your area that indicate the people around you are sick – so if you’re a germaphobe, it’s either your best friend or the thing that will make you never want to leave your house again. Yelp has made similar efforts with the addition of restaurant hygiene scores to restaurant pages (the feature is only available in New York and San Francisco, however). 

Even though the nEmesis model isn’t perfected yet, it’s a strong example of how researchers can mine social networks to improve public health – and hopefully, if programs like this grow in popularity, they’ll remind restaurant owners that even if the health inspectors aren’t coming around, sleazy food service habits won’t remain unnoticed by diners. 

Editors' Recommendations

How to use Twitter Analytics
Twitter app on the OnePlus 10T.

If while using Twitter you find yourself curious about the level of engagement your tweets are actually getting, you may want to take a closer look at your tweet analytics. The number of likes, retweets, or comments can only tell you so much about how your tweets are being received. But viewing your tweet analytics can give you a better idea of how well your tweets reach your audience.

To view your tweet analytics, you'll need to visit your account's Twitter Analytics dashboard, which will not only show your tweets' like and retweet statistics but also more detailed tweet metrics like impressions and account metrics such as follows and mentions. In this guide, we'll show you how to access your Twitter Analytics dashboard and individual tweet metrics. We'll also answer a few of your Twitter Analytics questions.

Read more
Twitter Circle launches globally, but lots of us can’t add anyone yet
Twitter logo in white stacked on top of a blue stylized background with the Twitter logo repeating in shades of blue.

The bird app's coveted Circle feature finally launched globally this week, but many users still can't use it.

On Tuesday, Twitter announced via a tweet that Twitter Circle (a feature that lets you tweet to just a chosen few), was finally available for all users on Android, iOS, and the web. But then, many of us quickly opened up our apps and checked online to try it out only to be met with a shiny new feature that apparently isn't working properly right now.

Read more
Snapchat may owe you money just for using filters — here’s how to get paid
A person using Snapchat on an iPhone.

Snapchat is currently in a bit of hot water with the state of Illinois following a class-action lawsuit that alleges that the company violated the privacy rights of Illinois app users. While the suit is still ongoing, parent company Snap Inc. could owe residents up to $35 million. That number is subject to change as the lawsuit continues toward its final approval, which is scheduled for November, according to NBC Chicago.

Although it's never a good thing when a tech company violates the rights of its userbase, the silver lining here is that Snapchat users could be getting a check in the mail as long as they fill out the required forms.
What rights did Snapchat violate?

Read more