homehome Home chatchat Notifications


Chicago Twitter bot helps officials find dirty restaurants

I just love it when technology can help solve social problems – especially in cases where you wouldn’t expect it to, like for example in Chicago, where a Twitter bot is helping authorities find dirty restaurants. If you’ve eaten out, and after that you feel a bit sick, like say you have an indigestion or […]

Mihai Andrei
August 20, 2014 @ 12:55 pm

share Share

I just love it when technology can help solve social problems – especially in cases where you wouldn’t expect it to, like for example in Chicago, where a Twitter bot is helping authorities find dirty restaurants.

 Food Poisoning From an infographic for Foodborne Chicago by Payal Patel Designs


Food Poisoning
From an infographic for Foodborne Chicago by Payal Patel Designs

If you’ve eaten out, and after that you feel a bit sick, like say you have an indigestion or a bad stomach – who are you gonna tell ? There are many city hotlines or authorities you can tell, but most people don’t use them. Most people just complain online, and what better place to complain than on Twitter?

So, in a recent project, the city of Chicago sought food poisoning cases by setting an algorithm to mine Chicago-area tweets for complaints. The Chicago Department of Public Health’s Twitter bot, plus a new online complaint form, helped the department identify 133 restaurants which seemed dubious, and an inspection was deemed necessary.

Out of the 133 inspected restaurants, 21 failed inspection, and 33 passed, but with serious violations – so all in all, more than a third were found with problems, much more than usual. The Twitter bot worked. Chicago is now working with the health departments of Boston and New York to see if its system could work in those cities, according to a report city researchers published with the U.S. Centers for Disease Control and Prevention.

Another good way to further develop this initiative would be to expand it on other platforms, because it seems fairly logical that more complains can be found on Facebook than Twitter. As for this bot, the way it works is pretty simple. It searched for tweets geo-located to Chicago and its surrounding suburbs that mentioned “food poisoning.” Human staff then read the tweets to determine if they were relevant. Tweets were labeled as ‘relevant’ or ‘not relevant’, further improving the way the bot selected tweets. Then, staff manually replied to relevant tweets, sending them a link to file a complaint.

Between March 2013 and January 2014, the Chicago bot culled 2,241 tweets, of which 270 were relevant and staff replied to them. Thirty Twitter users went to Foodborne Chicago directly from the link the health department sent them. An additional 163 people submitted complaints to Foodborne Chicago, but staff don’t know if they learned about the site through Twitter or someplace else. The noteworthy thing is that they would have never found out about those restaurants if it hadn’t been for this bot – people simply don’t make enough complaints when they suspects something si wrong with the food, authorities say.

share Share

Autism rates in the US just hit a record high of 1 in 31 children. Experts explain why it is happening

Autism rates show a steady increase but there is no simple explanation for a "supercomplex" reality.

Scientists Rediscover a Lost Piece of Female Anatomy That May Play a Crucial Role in Fertility

Scientists reexamine a forgotten structure near the ovary and discover surprising functions

Superbugs are the latest crisis in Sub-Saharan Africa

Researchers found an alarming rise in antibiotic-resistant infections among children.

Drug Regenerates Retina and Restores Vision in Blind Mice

A protein hidden in our eyes may be the reason we can't repair lost vison.

The UAE Wants AI to Write Its Laws — What Could Possibly Go Wrong?

But can machines really grasp justice, fairness, and human rights?

This Chewing Gum Can Destroy 95 Percent of Flu and Herpes Viruses

Viruses had enough fun in our mouths, it's time to wipe them out.

Here's why you should stop working out before bedtime

Even hours before bedtime, workouts can be a problem.

Researchers analyzed 10,000 studies and found cannabis could actually fight cancer

Scientists used AI to scan a huge number of papers and found cannabis gets a vote of confidence from science.

AI Made Up a Science Term — Now It’s in 22 Papers

A mistranslated term and a scanning glitch birthed the bizarre phrase “vegetative electron microscopy”

She Can Smell Parkinson’s—Now Scientists Are Turning It Into a Skin Swab

A super-smeller's gift could lead to an early, non-invasive Parkinson's test.