Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 830 Bytes

README.md

File metadata and controls

40 lines (21 loc) · 830 Bytes

Analyses of YouTube Data

CS 5830 - Data Science in Practice

Ann Marie Humble & Emma Lynn May

Generate a New Dataset

With current data from the YouTube API!

  • Create a python virtual environment:

    python3 -m venv my_env

  • Activate the virtual environment:

    source my_env/bin/activate

  • Install required packages:

    pip3 install -r requirements.txt

  • Create a YouTube API key

  • Rename the example.env file to .env. Replace YOUR-API-KEY-HERE with your API key.

  • Run the script to create the dataset:

    python3 create-dataset.py

  • To use the new dataset in analysis.ipynb, rename new-youtube-data.csv to youtube-data.csv

  • Deactivate the virtual environment:

    deactivate

References

  • UberSuggest
  • Yahoo Finance