YouTube Analysis
The YouTube Analysis project is designed to analyze and visualize YouTube viewing patterns from historical data (2020-2025). The project processes user data to deliver insights on viewing behavior, content preferences, and personalized recommendations.
- Python 3.8+
- pandas (�1.5.0+)
- matplotlib (�3.5.0+)
- seaborn (�0.11.0+)
- wordcloud (�0.8.0+)
- pyarrow for Parquet support
A modular pipeline processes YouTube data, producing temporal, content, and behavioral insights. Outputs include visualizations and Markdown reports integrated with Obsidian.
- Python 3.8+
- pip for package installation
- Clone the repository:
git clone https://github.com/username/youtube-analysis.git
- Navigate to the project directory:
cd youtube-analysis - Install dependencies:
pip install -r requirements.txt
- Place YouTube data JSON files in
data/UserData_YouTube/.
- scripts/: Analysis and processing scripts
- data/: Raw data inputs
- output/: Results and reports
- .github/: Documentation templates and guidelines
- Data preparation and cleaning
- Temporal, content, and behavioral analyses
- Personalized viewing insights
- High-resolution visualizations
- Multi-format data export
Scripts are modular and can be executed independently or as an automated pipeline:
python scripts/run_analysis_pipeline.pyFollows PEP 8 guidelines. See Coding Standards for more details.
Testing with sample data ensures reliability. Test scripts are located in the /tests directory and follow conventions
from Coding Standards.
Please refer to Contribution Guidelines.
This project is licensed under the MIT License.