Personality Type
Creates a dictionary of link ratios for each personality type
Dependencies: NoneVisualizes link data
Dependencies: get_link_ratioCreates csvs with output data for links from Youtube's API
Extremely long runtime/unneeded if all {Type}.csv exists Dependencies: get_link_ratioCreates a dictionary of average views of youtube videos by personality
Dependecies: get_link_ratio, make_video_data_filesVisualizes view data
Dependencies: get_avg_viewCreates csvs with output data for Youtube music videos from Spotify's API
Extremely long runtime/unneeded if all spotify-{Type}.csv exists Dependencies: make_video_data_filesVisualizes genre data for each personality
Dependencies: make_genre_filesVisualizes the distribution of youtube categoies for all types
Dependencies: make_video_data_filesVisualizes genre data by indicator
Dependecies: make_genre_filesVisualizes the usages for pronouns in the 1st/2nd/3rd person
Dependencies: nonePreprocesses and cleans the text by removing links, punctuation and lower case
Dependencies: noneVisualizes most commons words across all personality types
Dependencies: pre_process_dataGenerates a dictionary of sentiment scores
Dependencies: noneReturns sentiment for a particular sentence
Dependencies: run_vaderCreates result_dict that contains number of positive, negative and neutral sentiments for each personality type
Dependencies: get_sentiments_of_sentenceDumps the dictionary into a pickle file
Dependencies: get_sentimentsLoad the dictionary from a pickle file
Dependencies: dump_result_dictPlots pie charts, showing percentage of each sentiment type for each personality type
Dependencies: load_result_dictVisualizes the number of users per personality type and their average words per comment
Dependencies: none- numpy
- pandas
- re
- nltk
- sklearn
- wordcloud
- spacy
- matplotlib
- pickle
- seaborn
- vader
- pafy
- spotipy