https://github.com/narpat78/instagram-user-analytics
An analytics project integrating Python (Jupyter Notebook) with MySQL to extract insights for Instagram’s marketing team and investors, covering loyal users, inactive users, hashtags, fake accounts, and user engagement.
https://github.com/narpat78/instagram-user-analytics
data-analysis-python eda mysql-connector
Last synced: 6 months ago
JSON representation
An analytics project integrating Python (Jupyter Notebook) with MySQL to extract insights for Instagram’s marketing team and investors, covering loyal users, inactive users, hashtags, fake accounts, and user engagement.
- Host: GitHub
- URL: https://github.com/narpat78/instagram-user-analytics
- Owner: narpat78
- Created: 2025-09-03T05:21:06.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-09-03T05:24:31.000Z (7 months ago)
- Last Synced: 2025-09-03T07:20:31.725Z (7 months ago)
- Topics: data-analysis-python, eda, mysql-connector
- Language: Jupyter Notebook
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instagram User Analytics
This project focuses on **analyzing Instagram user data** using **Python (Jupyter Notebook)** and **MySQL**.
It is designed to help **Instagram’s Marketing Team** and **Investors** make data-driven decisions about user engagement, campaigns, and overall platform performance.
---
## Project Overview
- **Marketing Team Goals**:
- Identify loyal (oldest) users
- Detect inactive users
- Analyze popular hashtags
- Launch contests & ads based on user activity
- **Investor Goals**:
- Measure user engagement
- Detect bots and fake accounts
- Assess if Instagram is staying relevant
The project integrates **Python with MySQL** using the `mysql.connector` library to run SQL queries and analyze results in **Pandas DataFrames** for further exploration and visualization.
---
## Database Schema
The database used is named **`ig_clone`**, containing the following tables:
- **users** → registered user details
- **photos** → uploaded photos info
- **tags** → hashtags used
- **photo_tags** → mapping photos with tags
- **likes** → user likes on photos
- **comments** → user comments on photos
- **follows** → followers and followings
[Database Creation Commands](https://docs.google.com/document/d/1-WhNRX1iYJIz7e5l28DMPWgsPklpE_w6/edit)
---
## Tech Stack
- **MySQL** → Database
- **Python (Jupyter Notebook)** → Analysis & Visualization
- **mysql.connector** → Database integration
- **Pandas** → Query results transformation