Automated Social Network Epidemic Data Collector

Similar documents
Towards Real Time Epidemic Vigilance through Online Social Networks

#Swineflu: Twitter Predicts Swine Flu Outbreak in 2009

City, University of London Institutional Repository

Abstract. But what happens when we apply GIS techniques to health data?

Towards Integrated Syndromic Surveillance in Europe?

Epimining: Using Web News for Influenza Surveillance

Global infectious disease surveillance through automated multi lingual georeferencing of Internet media reports

Monitoring influenza activity in Europe with Google Flu Trends: comparison with the findings of sentinel physician networks results for

Tom Hilbert. Influenza Detection from Twitter

Analysing Twitter and web queries for flu trend prediction

Developing the Framework for an Epidemic Forecast Infrastructure

Using Internet data to learn in the health domain

Digital Disease Detection Harnessing the Web for Public Health Surveillance

A Framework for Public Health Surveillance

Tracking the flu pandemic by monitoring the Social Web

WORLD HEALTH ORGANIZATION

Regional Level Influenza Study with Geo-Tagged Twitter Data

Asthma Surveillance Using Social Media Data

Monitoring of Epidemic Using Spatial Technology

H1N1 Flu Virus (Human Swine Influenza) Information Resources (last updated May 6th, 2009, 5 pm)

EVALUATION OF HEALTH THREATS: How the EU system functions Zsuzsanna Jakab, Director of ECDC, Informal Meeting of Health Ministers

Infodemiology, an emerging area of research at the

Tracking Disease Outbreaks using Geotargeted Social Media and Big Data

Which Diseases? Zoonotic diseases Highly Pathogenic Avian Influenza (HPAI) Rabies Rift Valley Fever (RVF) etc...

CHAPTER 6 DESIGN AND ARCHITECTURE OF REAL TIME WEB-CENTRIC TELEHEALTH DIABETES DIAGNOSIS EXPERT SYSTEM

Influenza A(H1N1)2009 pandemic Chronology of the events in Belgium

Elsevier ClinicalKey TM FAQs

H1N1 Flu Virus (Human Swine Influenza) Information Resources (last updated May 7th, 2009, 12pm)

H1N1 1. Public anxiety and information seeking following the H1N1 outbreak: Web blogs, newspaper articles and Wikipedia visits

Authors: Jennifer Kates (Kaiser Family Foundation), Eric Lief (The Stimson Center), Carlos Avila (UNAIDS).

EMBASE Find quick, relevant answers to your biomedical questions

Lionbridge Connector for Hybris. User Guide

Table Of Content. The European Influenza Surveillance Scheme... 2 Summary... 3 Coordinator, Leader contact and partners Outputs...

Data Driven Methods for Disease Forecasting

Influenza; tracking an emerging pathogen by popularity of Google Searches

Syndromic surveillance System in China with GIS (ISSC)

Table S1- PRISMA 2009 Checklist

PROPOSED WORK PROGRAMME FOR THE CLEARING-HOUSE MECHANISM IN SUPPORT OF THE STRATEGIC PLAN FOR BIODIVERSITY Note by the Executive Secretary

How preferred are preferred terms?

Introduction to Innovative Disease Surveillance

Surveillance of Recent HIV Infections: Using a Pointof-Care Recency Test to Rapidly Detect and Respond to Recent Infections

Issue No.1, December 2010 From the WHO Regional Office for Europe, WHO/EURO -

Interim WHO guidance for the surveillance of human infection with swine influenza A(H1N1) virus

Financing the Response to AIDS in Low- and Middle- Income Countries: International Assistance from Donor Governments in 2011

CHALLENGES IN INFLUENZA FORECASTING AND OPPORTUNITIES FOR SOCIAL MEDIA MICHAEL J. PAUL, MARK DREDZE, DAVID BRONIATOWSKI

This is a repository copy of Measuring the effect of public health campaigns on Twitter: the case of World Autism Awareness Day.

Enhanced Asthma Management with Mobile Communication

Global Efforts to Understand Influenza Disease Burden

Evaluation of News and Social Media Response to the Outbreak of Fungal Meningitis and Other Infections

Abstract of the PhD Thesis Intelligent monitoring and early warning system of pandemic viruses

B.I.R.O. Best Information through Regional Outcomes

Texting4Health Conference February 29, InSTEDD Proprietary Level I

International Journal of Pharma and Bio Sciences

Searching for flu. Detecting influenza epidemics using search engine query data. Monday, February 18, 13

Human Cases of Swine Influenza in California, Kansas, New York City, Ohio, Texas, and Mexico Key Points April 26, 2009

Pandemic Preparedness

August. National Health Observances

Key Highlights continued

A step towards real-time analysis of major disaster events based on tweets

Surveillance of influenza in Northern Ireland

PHOTO. VHPB/ELPA MEETING Prevention and Control of Viral Hepatitis The role and impact of patients and advocacy groups in and outside Europe

Electronic Test Orders and Results (ETOR)

Agent-Based Models. Maksudul Alam, Wei Wang

Glossary 3189 Report - Discontinued 2007 see Supplemental Vaccine Certification Form

Alexandra DiLuca Term Project 3 Report. Introduction

Mathematical Modeling of Trending Topics on Twitter

Worldwide Influenza Surveillance through Twitter

Goals of this course. What is Big Data? Big Data. The three Vs in Big Data. 8/20/2018 Week 1-A Sangmi Lee Pallickara

Visual and Decision Informatics (CVDI)

SleepImage Website Instructions for Use

COMMISSION REGULATION (EC) No 1266/2007 control, monitoring and surveillance of bluetongue. The EU-BTNET system. Paolo Calistri

Brendan O Connor,

Detecting influenza outbreaks by analyzing Twitter messages

Severe Acute Respiratory Infections during the Influenza A(H1N1)2009 pandemic in Belgium: first experience of hospital-based flu surveillance

SEMANTICS-BASED CALORIE CALCULATOR. A Paper Submitted to the Graduate Faculty of the North Dakota State University of Agriculture and Applied Science

Design and Study of Online Fuzzy Risk Score Analyzer for Diabetes Mellitus

Global updates on avian influenza and tools to assess pandemic potential. Julia Fitnzer Global Influenza Programme WHO Geneva

-VFC Providers Influenza Vaccine and Preparedness Survey: Louisiana-

A Spatio-Temporal Approach to the Discovery of Online Social Trends

Ending Pandemics Ini.a.ve. Adam W. Crawley, MPH ISDS Webinar January 22, 2016

Large Scale Analysis of Health Communications on the Social Web. Michael J. Paul Johns Hopkins University

The WCO + GEFEG WCO Data Model Implementation Tooling Packages. 1. Study Package 2. Customisation Package 3. Advanced (Extensible) Package

WINTER SEASON 2016/17 MORTALITY SUMMARY REPORT FROM THE EUROMOMO NETWORK

Overview of Influenza Surveillance in Korea

Emergency Preparedness and Response

Hacettepe University Department of Computer Science & Engineering

Forecasting Influenza Levels using Real-Time Social Media Streams

Media centre Global infectious disease surveillance

Semantic Alignment between ICD-11 and SNOMED-CT. By Marcie Wright RHIA, CHDA, CCS

Introduction to Reproduction number estimation and disease modeling

Available online at ScienceDirect. Procedia Computer Science 70 (2015 ) Vinay Kumar Jain a, Shishir Kumar b

Information Technology and Global Surveillance of Cases of 2009 H1N1 Influenza

H1N1 Disease & Vaccine in Maryland

OECD QSAR Toolbox v.4.2. An example illustrating RAAF scenario 6 and related assessment elements

Utilizing syndromic surveillance data from ambulatory care settings in NYC

Development of a Model and a Mobile Computing Framework for Effective Self-

Using routine emergency care data for public health surveillance in Europe

European Patients Academy on Therapeutic Innovation

INFLUENZA FACTS AND RESOURCES

-VFC Providers Influenza Vaccine and Preparedness Survey: Oregon-

Transcription:

Automated Social Network Epidemic Data Collector Luis F Lopes, João M Zamite, Bruno C Tavares, Francisco M Couto, Fabrício Silva, and Mário J Silva LaSIGE, Universidade de Lisboa epiwork@di.fc.ul.pt Abstract. Recent epidemiological surveillance projects began collecting data from the Internet to identify inflectional diseases propagation. These systems collect data from pre-selected data sources somehow related to the subject. However, other sources, like web social networks, may present early evidences of an infection event. With the increasing popularity of social networks, where people post personal data interactively, we may hint the outbreak of an epidemic event from these data. This paper presents the architecture of a system capable of collecting epidemiological data from social network services. A preliminary prototype collects data from Twitter into a local database, where it can be analyzed and made available to other applications. Initial evaluation results show that relevant epidemiological data can be found in this source. Key words: Epidemiological surveillance, Data Retrieval, Social networks, Twitter 1 Introduction Epidemiological surveillance systems are essential for the study and control of diseases. Data recovered by these systems should be as extensive as possible in order to obtain enough information to understand the propagation of diseases, assessing their impact in public health through epidemiological prediction tools. In recent years there has been an increase of quantitative social, demographic and behavioral data available, which can be used by statistical and mathematical models to improve the traditional disease surveillance systems, providing faster and better geo-referenced outbreak detection capacities. The epidemiological surveillance is traditionally done by governmental and international health organizations, such as the WHO (World Health Organization), and is mostly based on cases reported by health services. Although official statistics should be accurate and based on reliable data, new technologies can be implemented to collect epidemiological data that could be regarded in the future as a valuable complement to national reporting systems. The use of the web to collect information about epidemics has been a target of investigation in the last years. State-of-the-art systems can collect data from

2 Luis Lopes, João Zamite, Bruno Tavares, Fabrício Silva, Mário Silva different kinds of sources, such as search-engine log data, news sites and userprovided input. However, social networking sites are potential targets for the retrieval of epidemic information, given their role as forums where people meet and post information about themselves. Text messages exchanged on the web can be used to identify cases of diseases or at least to provide an idea of the spread of a disease in a community. Twitter 1 functions as a microblog, where people post small messages with a limit of 140 characters that can either be visualized by anyone or by specific friends, according to the account settings. The large and still increasing number of users of Twitter makes it the perfect case case study for our approach. Data obtained from social network services such as Twitter, can provide real time information from a large base of regular users. Furthermore, since this information is available instantaneously, it can be used for early detection comparatively to information collected from official sources as suggested by Google Trends observations [3]. This paper presents the Data Collector that is being developed as a module of the Epiwork s Epidemic Marketplace 2, an epidemiological data management platform. The objective of this module is to explore the use of web based social network services for the collection of epidemiological related data. This module collects data from Twitter, searching for disease keywords in the published messages. Besides the text of the message, the module retrieves information about the author, location and posting date. In this work we present some statistics related to the data collector and analyze the data obtained for H1N1 in some European countries and discuss how to improve the system. 2 Related Work Some systems have been developed in the last years to collect disease information from Internet users. Internet monitoring systems (IMS) use data obtained from user voluntary reports, such as Gripenet [6] or collected automatically, like Google Flu Trends [3] and HealthMap [1]. An IMS is an information collection system that depends on the active participation of registered users, which receive weekly newsletters about the flu and are invited to fill a questionnaire about the flu symptoms (or their absence in the previous week). Gripenet was developed after the model of Holland s Influenzanet [5]. It has been implemented until now in 6 countries, besides Portugal and Holland: Belgium, Italy 3, Brasil 4, Mexico 5, United Kingdom 6 and Australia 7. 1 http://www.twitter.com/ 2 http://epiwork.di.fc.ul.pt/ 3 http://www.influweb.it/ 4 http://www.gripenet.com.br/ 5 http://reporta.c3.org.mx/ 6 http://www.flusurvey.org.uk/ 7 http://www.flutracking.net/

Automated Social Network Epidemic Data Collector 3 More should be expected to appear in the future with the objective of having real time flu monitorization. Healthmap[1] is a website that displays in the world map information about new cases of diseases, especially infectious diseases, collected from several sources. These include news sources, such as Internet news sites, the ProMED-mail newsletter[4], Eurosurveillance and WHO. The degree of reliability of these sources is variable, ranging from media news to validated official alerts. The data displayed is organized by disease using an automated text processing system and then displayed on the Earth map. The original information is available by a hyperlink to the original source. Google Flu Trends has been recently announced as a system capable of predicting influenza epidemics based on search engine query log data [3]. It was initially deployed for the United States of America, where about 90 million users are believed to search online for information about specific diseases. It has now been applied in Australia New Zealand and experimentally to Mexico. The authors of this work state that certain queries can be used as a surveillance tool to predict the number of influenza cases and that these predictions can be produced one to two weeks before the official data. In recent years Web based social network services, where people share their interests and activities, have become a popular trend. Moreover the types of information shared in these Social Networks are varied, from link sharing to short text messages. This variety allowed for News Services to gather and publish information in these networks. 3 Data Collector The Data Collector is able to actively collect information about putative infections by automatically retrieving infection alerts from the web. The data retrieved is stored in a local database and made available through web services and a web user interface. 3.1 Architecture The data collector (fig. 1) is composed by a backend and a frontend. The backend contains the web crawler which retrieves messages from Twitter, a relational database used to store the collected data and web services which can be used to access this data. The frontend consists of a web interface that will provide a dynamic graphic environment for the user to explore the data. 3.2 Data Storage All the information retrieved from the web will be stored in a local database. Data is stored according to the UML class diagram shown in fig. 2. The two main classes are Disease and Location, which contain the diseases and the geographical locations to monitor. Each disease will have an official name and a type;

4 Luis Lopes, João Zamite, Bruno Tavares, Fabrício Silva, Mário Silva alternative names are instances of the Disease Alias class. In the same way, each location will have an official name and a type; alternative names are instances of the Location Alias class. The type of a location can be a city, country, etc. Each location will be geo-referenced by the latitude and longitude of its centre and a radius limiting the area to monitor. For example, cities will tend to have smaller radius than countries. Fig. 1. Architecture of the Data Collector. 1 - The Web Crawler requests XML messages from twitter containing a disease and a location; 2 - The Web Crawler stores detected occurrences in a relational database; 3 - Web Services query the database for information; 4 - The Interface uses the Web Services to present data using 6 - other available Web Services to 7 - display the information to user in an interactive manner. 5 - Other external parties can use the web services for their own purposes. A relationship between a location and a disease is stored when an alert is detected for the given disease at the given location. The Occurrence will store the date, author, source, evidence, type and score. The author, the source and evidence are information that may be retrieved or received attached to the occurrence alert. The attribute score will store a confidence score for each detected occurrence allowing the weighting according to specific attributes, once mathematical models are developed.

Automated Social Network Epidemic Data Collector 5 Fig. 2. UML class diagram of the relational database. 3.3 Web Crawler This module actively collects information about putative infections by automatically crawling the social web. The current crawler accesses the Twitter using the web services documented in the Twitter Search API. To detect disease referencing tweets it queries for the name of a disease and of a location. For example, using: http://search.twitter.com/search.atom?lang=enq=h1n1+italy (see fig. 3). 3.4 Application Programming Interface (API) The Data Collector provides a RESTful API which specifies the methods and parameters through which other users and applications can access the data contained in the database. There are three main divisions in the API which specify methods to retrieve locations, diseases and occurrences in the database, displayed in HTML tables. Retrieving information on diseases is done through the diseases method 8 which returns the names and all the aliases of each disease in our database. Requesting information on locations is done through the locations method 9 which returns all the information on the locations in our database. 8 http://epiwork.di.fc.ul.pt/collector/diseases 9 http://epiwork.di.fc.ul.pt/collector/locations

6 Luis Lopes, João Zamite, Bruno Tavares, Fabrício Silva, Mário Silva Fig. 3. Output of Twitter API when searching for h1n1 and Italy. The occurrence method 10 returns the main name of the detected diseases, the main name of the location where they were detected as well as the source, author, evidence, score and date. This method can be filtered by location and by disease names using the location= and the disease= parameters. It can also be further filtered by date, specifying the before= and after= parameters in the format: yyyymmddhhmmss. The occurrence method can also be used with the parameter format=tsv which results in the method returning a dataset in tab-separated values (TSV) format. An example of the usage of this web service would be: http://epiwork.di.fc.ul.pt/collector/occurrences?disease=h1n1&location= portugal&before=20090518000000&after=20090515000000&format=tsv This request would produce a TSV containing the attributes of occurrences of H1N1 in Portugal, in a specific time interval. 3.5 Demo Mashup Client The web interface (see fig. 4) will use AJAX technology to produce dynamic trends graphs and geographical maps that change in real time. It will permit the user to select and visualize data within a specific timeframe (i.e. within a week, 10 http://epiwork.di.fc.ul.pt/collector/occurrences

Automated Social Network Epidemic Data Collector 7 month, year, etc), allowing for easier visualization of trends that occur in that window of time. The user interface is currently under development. For this purpose, we intend to implement dynamical plots, using Google Chart 11, which will allow the user to visualize occurrences over time. Another means of visualizing data would be an earth map, using Google Maps 12. The map will display markers color-coded according to the number of occurrences which will give the user immediate insight into the disease distribution. The displayed information could be interactively filtered by disease, location and source. Fig. 4. Snapshot of the mashup webpage. 4 Implementation The Data Collector is being implemented with free open source software. The collected data is currently being stored in a relational database implemented with MySQL Community Server 5.0. The crawler was written in PHP. It queries Twitter using its Search API for messages containing location names and disease names. It does so for all the possible combinations of locations and diseases. Location information about the countries and their capitals was retrieved from the geonames 13 webservice.using the searchjson method we retrieved the countrycodes and geonameid of all the countries of the world and their capitals 1415. The country area was retrieved using the CountryInfoCSV method 16 11 http://code.google.com/intl/pt-pt/apis/chart/ 12 http://code.google.com/intl/pt-pt/apis/maps/ 13 http://www.geonames.org 14 http://ws.geonames.org/searchjson?featurecode=pcli 15 http://ws.geonames.org/searchjson?featurecode=pplc&country=<countrycode> 16 http://ws.geonames.org/countryinfocsv?country=<countrycode>

8 Luis Lopes, João Zamite, Bruno Tavares, Fabrício Silva, Mário Silva which was used for calculating the radius of interest for each country. Using the geonameid the remaining information, including all the aliases was retrieved using the getjson method 17. Diseases were retrieved manually from the United States CDC website 18 and Health Protection Agency website 19 as well as other sources, including Healthmap. We are currently tracking 89 diseases as well as all the countries and their capitals (17165 names being used). The process of querying Twitter for all this information currently takes from 2 to 3 days, which we consider adequate to the system s needs considering the large number of location names being used. A new querying process is started each week, and since twitter stores messages for over 20 days there are no gaps or discrepancies on the messages obtainable each day. 5 Results The crawler has been collecting information from tweets that contain a disease and a location in the message body. This type of search is still very simple and is probably missing lots of tweets. However, even so the system is collecting on average 3200 messages every day, from which 700 pertain to H1N1. Using the Data Collector web services, we produced datasets containing the data collected for the disease term H1N1 for several countries: Portugal, Spain, France, United Kingdom (UK), Holland and Italy. From the datasets the number of daily messages was analyzed (see fig. 5). We observed that France and the UK are, among the countries analyzed, the ones where there were more references to H1N1 (or the alias swine flu). Even using a naïve search method it is possible to obtain a large number of messages. It is also possible to observe an increase in the number of messages being collected, which is correlated to the increase of the number of cases. 6 Conclusions This work shows that it is possible to collect large amounts of epidemiological data from twitter, a system with a large base of users and daily messages. Despite the large number of messages already collected by this system, it can be improved to collect even more information in a more accurate way. Since the first implementation the number of diseases and locations has already been largely increased. The system is now looking for a large number of locations and its aliases, based on data retrieved from Geonames. Although the number of diseases being currently tracked is already very high (89 diseases), the number of aliases used is still low. In the future this will be improved by implementing the UMLS ontology [2], which will increase disease coverage. 17 http://ws.geonames.org/getjson?geonameid=<geonameid> 18 http://www.cdc.gov/ncphi/disss/nndss/phs/infdis2007.htm 19 http://www.hpa.org.uk/

Automated Social Network Epidemic Data Collector 9 These messages that have been collected had the country in the text body while in the future it will recover messages that were posted in those countries but do not necessarily have the country name in the message. Fig. 5. Number of daily messages containing the word H1N1, from the 7th of May until the 15th of July of 2009, in six countries: A- Portugal, B- Spain, C- France, D- United Kingdom (only data from the 7th of June to 15th of July), E- Holland and F- Italy. The hypothesis we intend to test is that the number of messages posted on Twitter related to a specific disease should be related to the number of disease cases in the population. Although there are several detected cases where collected messages do not reflect specific cases, we suppose that the amount of data is so large that those cases will not influence the results significantly,as observed by Google Trends [3]. The presented system will surely be more efficient in some countries, where the number of people using Twitter or other web based social network services is comparatively high. However this effect may be corrected through normalization or other bias elimination methods. In the future the use of better text mining techniques will enable filtering the messages containing non relevant messages, improving the data accuracy.

10 Luis Lopes, João Zamite, Bruno Tavares, Fabrício Silva, Mário Silva Further statistical analysis and data collection is also required to validate the usage of data collected by this system in epidemiological propagation predictions. 7 Acknowledgements The authors want to thank the European Commission for the financial support of the Epiwork project under the Seventh Framework Programme (Grant # 231807), the Epiwork project partners and FCT (Portuguese research funding agency) for its LASIGE Multi-annual support. References 1. Brownstein JS, Freifeld CC. (2007). HealthMap: the development of automated realtime internet surveillance for epidemic intelligence. Euro Surveill, 12(11): E071129.5. 2. Bodenreider, O. (2004). The Unified Medical Language System (UMLS): integrating biomedical terminology. Nucleic Acids Research 32(Database issue):d267-270. 3. Ginsberg J, Mohebbi MH, Patel RS, Brammer L, Smolinski MS, Brilliant L. (2008). Detecting influenza epidemics using search engine query data. Nature, 457, 1012-1014. 4. Madoff, L. C. (2004). ProMED - mail: An Early Warning System for Emerging Diseases. Clinical Infectious Diseases, 39:227-232. 5. Marquet RL, Bartelds AI, van Noort SP, Koppeschaar CE, Paget J, Schellevis FG, van der Zee J. (2006). Internet-based monitoring of influenza-like illness (ILI) in the general population of the Netherlands during the 2003-2004 influenza season. BMC Public Health, 6:242. 6. van Noort SP, Muehlen M, Rebelo de Andrade H, Koppeschaar C, Lima Loureno JM, Gomes MG. (2007). Gripenet: an internet-based system to monitor influenzalike illness uniformly across Europe. Euro Surveill, 12(7): E5-6.