Git Product home page Git Product logo

sepehrkrz / twitteranalysis-disastermanagement Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 272 KB

This project aims to explore the potential of Twitter data for disaster management and risk reduction. The project includes several Python scripts that can be used for collecting, preprocessing, and analyzing Twitter data related to natural hazards and disasters.

License: MIT License

Python 100.00%

twitteranalysis-disastermanagement's Introduction

Twitter Analysis for Disaster Management

This project aims to explore the potential of Twitter data for disaster management and risk reduction. The project includes several Python scripts that can be used for collecting, preprocessing, and analyzing Twitter data related to natural hazards and disasters.

Files

The following .py files are included in this project:

  • TweetMining.py: This script can be used for collecting Twitter data using the Twitter API. It includes functions for searching for tweets based on keywords, hashtags, or user mentions, and for collecting tweets from specific locations.
  • LocationMapping.py: This script can be used for mapping Twitter users to their geographic locations based on their profile - information. It includes functions for geocoding user locations and for visualizing the distribution of users on a map.
  • Preprocessing.py: This script can be used for preprocessing Twitter data before conducting further analysis. It includes functions for cleaning and filtering tweets, removing URLs and special characters, and extracting relevant information such as hashtags, mentions, and URLs.
  • HumanitarianTopics.py: This script trains and evaluates an LSTM classifier to classify disaster related Tweets into Humanitarian classes.

Visualization

The project includes a Tableau dashboard to visualize the results. The dashboard can be accessed using the following link: http://sepehr.people.ua.edu/data-analytics-dashboard.html

Citation

If you use this code for your research, please cite the following papers:

  • Karimiziarani, M., W. Shao, M. Mirzaei, and H. Moradkhani (2023), Toward Reduction of Detrimental Effects of Hurricanes using a Social Media Data Analytic Approach: How Climate Change is perceived?, Climate Risk Management, doi:10.1016/j.crm.2023.100480
  • Karimiziarani, M., Jafarzadegan, K., Abbaszadeh, P., Shao, W., H. Moradkhani (2022), Hazard Risk Awareness and Disaster Management: Extracting the Information Content of Twitter Data, Sustainable Cities and Society, doi:10.1016/j.scs.2021.103577.

twitteranalysis-disastermanagement's People

Contributors

sepehrkrz avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.