Skip to content

sntk-76/analyzing-Ukraine-war

Repository files navigation

Reddit Data Analysis Project: Ukraine War

Overview

This open-source project aims to provide a comprehensive analysis of data related to the Ukraine war sourced from Reddit. The project focuses on extracting hashtags and keywords from Reddit posts and comments, and then visualizing the data in the form of graphs to reveal insights and trends related to the Ukraine war. The analysis is performed using Python programming, leveraging the Reddit API, and various data processing and visualization libraries.

Project Features

  1. Data Extraction from Reddit:

    • Utilizes the Reddit API to collect data related to the Ukraine war, including posts and comments from relevant subreddits.
    • Provides the ability to specify the subreddits of interest and the time frame for data retrieval.
  2. Hashtag and Keyword Extraction:

    • Extracts hashtags and keywords from Reddit posts and comments using natural language processing techniques.
    • Categorizes and counts the most frequently used hashtags and keywords to identify trending topics and discussions.
  3. Network Graph Visualization:

    • Creates network graphs based on the relationships between hashtags, keywords, and Reddit users.
    • Visualizes the graphs to illustrate the connections and interactions within the Reddit community regarding the Ukraine war.
  4. GitHub Repository:

    • Organized and well-documented codebase available on GitHub for easy access and collaboration.
    • Contains step-by-step instructions and tutorials on setting up the project environment and running the analysis.
  5. Data Insights and Reporting:

    • Provides insights and findings based on the analysis, offering a deeper understanding of the Reddit community's engagement with the Ukraine war.

Usage

To use this project, follow these steps:

  1. Clone the Repository:

    • Clone this GitHub repository to your local machine using the provided repository URL.
  2. Setup Environment:

    • Create a virtual environment for the project using Python.
    • Install the required Python libraries specified in the project's requirements.txt file to ensure a consistent environment.
  3. Configure Reddit API Credentials:

    • Obtain Reddit API credentials by creating a Reddit Developer Application as instructed in the project documentation.
    • Configure the credentials in your project to enable access to Reddit's data.
  4. Run the Analysis:

    • Execute the Python scripts in the project to perform data extraction, keyword and hashtag analysis, and graph visualization.
    • Customize the parameters to focus on specific subreddits or time periods for analysis.
  5. Explore Results:

    • Explore the generated network graphs and insights to gain a deeper understanding of the Ukraine war discussions on Reddit.

Contribution Guidelines

Contributions to this project are welcome! Feel free to open issues, submit pull requests, or provide feedback to help improve the project. Follow the guidelines outlined in the project's documentation to contribute effectively.

Acknowledgments

This project was developed by Sina Tavakoli and is made possible through the use of the Reddit API and various Python libraries, including PRAW, NetworkX, and others.

License

This project is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published