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

Scientists Quietly Developed a 6G Chip Capable of 100 Gbps Speeds

A single photonic chip for all future wireless communication.

Japan Is Starting to Use Robots in 7-Eleven Shops to Compensate for the Massive Shortage of Workers

These robots are taking over repetitive jobs and reducing workload as Japan combats a worker crisis.

A small, portable test could revolutionize how we diagnose Alzheimer's

A passive EEG scan could spot memory loss before symptoms begin to show.

Anthropic AI Wanted to Settle Pirated Books Case for $1.5 Billion. A Judge Thinks We Can Do Better

This case is quickly shaping up to be a landmark in AI history.

2.2 Million Fat-Removal Surgeries a Year: What's Behind the Body Contouring Boom

From liposuction to cryolipolysis, fat-removal is now one of the most common cosmetic choices worldwide.

Labiaplasty Is the Fastest-Growing Cosmetic Surgery Worldwide — And It’s Not Just About Looks

Once a taboo subject, vaginal rejuvenation is now part of a broader conversation about women’s intimate wellness.

Ultra-Processed Foods Made Healthy Young Men Gain Fat and Lose Sperm Quality in Just Three Weeks

Processed foods harmed hormones and fertility markers even with identical calories.

Could AI and venom help us fight antibiotic resistance?

Scientists used AI to mine animal venom for potent new antibiotics.

Scientists Reprogram Blood Cells to Prevent Alzheimer’s and Fight Aging In the Brain

In a promising new study, modified young immune cells improved brain performance in older mice.

America’s Sex Ed System Is An Anti-Science Nightmare

Only 37% of US states require sex ed to be medically accurate.