Using Twitter To Gain Mental Health Insights


A group of Johns Hopkins computer scientists think that data mining Twitter can lead to insights in common mental illnesses. It would work in a way similar to that used to map disease outbreaks such as flu, but this time focus on depression and other mental illnesses.

The technique involves mining Twitter streams for mention of mental health diagnosis in individual tweets and then adding that account to a database to be followed. With several thousand of these, the data mining can extrapolate tweets and analyze the streams overall to discover language cues that are linked to certain disorders.

A test run of the idea gave them a quick, inexpensive data collection on post-traumatic stress disorder, depression, bipolar disorder, and seasonal affective disorder. Their research was presented at three scientific conferences over the year, showing that the analysis could provide a much less difficult way to collect valuable data for analysis.

The data collection, of course, scrubbed all names associated with the tweets in order to preserve privacy and did not access private messages between users, only public posts.

Using computer technology to sift through tweets, they said, can help address the slow pace and high costs associated with collecting mental health data through surveys and other traditional methods. The researchers point out that they aren't aiming to replace traditional surveys, but instead to augment them or provide a new avenue for analysis.

The initial tests of the method showed that "mapping" instances of PTSD, for example, showed that it was more prevalent in and around military bases where deployments to conflict areas were common, proving the assumption usually made about PTSD among psychiatrists.


The information provided on the is designed to support, not replace, the relationship that exists between a patient/site visitor and his/her health professional. This information is solely for informational and educational purposes. The publication of this information does not constitute the practice of medicine, and this information does not replace the advice of your physician or other health care provider. Neither the owners or employees of nor the author(s) of site content take responsibility for any possible consequences from any treatment, procedure, exercise, dietary modification, action or application of medication which results from reading this site. Always speak with your primary health care provider before engaging in any form of self treatment. Please see our Legal Statement for further information.

PsyWeb Poll

Are you currently taking or have you ever been prescribed anti-depressants?
Total votes: 3979