/SMNA

Social Media and Network Analysis

Primary LanguageJupyter Notebook

Social Media and Network Analysis

Contains the edited code for all workshops done as well as all assignments.

Original data for assignment 2 (files too large for git): https://drive.google.com/drive/folders/1qjuDcy16x3MIiTWqiRxF6MGlO3SO7ixN?usp=sharing

Report document:
Version 1: https://docs.google.com/document/d/1ifTYefUu2NbMoD5GCICe92REGwaMojkGSzBGTc2ChC4/edit?usp=sharing

Version 2: https://docs.google.com/document/d/14sEMAzOmouH2XPfR76Vj_BVCf_-ydxqbZQ-RxSaBrmk/edit?usp=sharing

IMPORTANT: Some files require a twitterClient with a bearerToken. You can use and modify the demoTwitterClient.py file therefore.

Used versions

Python version: Python 3.9.13 Used modules: Go to edit mode for visability

anaconda-client 1.10.0 py39haa95532_0 anaconda-navigator 2.2.0 py39haa95532_0 anyio 3.5.0 py39haa95532_0 argon2-cffi 21.3.0 pyhd3eb1b0_0 argon2-cffi-bindings 21.2.0 py39h2bbff1b_0 asttokens 2.0.5 pyhd3eb1b0_0 attrs 21.4.0 pyhd3eb1b0_0 babel 2.9.1 pyhd3eb1b0_0 backcall 0.2.0 pyhd3eb1b0_0 beautifulsoup4 4.11.1 py39haa95532_0 blas 1.0 mkl bleach 4.1.0 pyhd3eb1b0_0 blinker 1.4 py39haa95532_0 bottleneck 1.3.5 py39h080aedc_0 brotli 1.0.9 h2bbff1b_7 brotli-bin 1.0.9 h2bbff1b_7 brotlipy 0.7.0 py39h2bbff1b_1003 ca-certificates 2022.9.14 h5b45459_0 conda-forge certifi 2022.9.14 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py39h2bbff1b_0 chardet 4.0.0 py39haa95532_1003 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.0.4 py39haa95532_0 clyent 1.2.2 py39haa95532_1 colorama 0.4.5 py39haa95532_0 conda 4.14.0 py39hcbf5309_0 conda-forge conda-content-trust 0.1.3 py39haa95532_0 conda-package-handling 1.8.1 py39h8cc25b3_0 conda-repo-cli 1.0.5 py39haa95532_0 conda-token 0.3.0 pyhd3eb1b0_0 cryptography 37.0.1 py39h21b164f_0 cycler 0.11.0 pyhd3eb1b0_0 cytoolz 0.11.0 py39h2bbff1b_0 debugpy 1.5.1 py39hd77b12b_0 decorator 5.1.1 pyhd3eb1b0_0 defusedxml 0.7.1 pyhd3eb1b0_0 entrypoints 0.4 py39haa95532_0 executing 0.8.3 pyhd3eb1b0_0 fftw 3.3.9 h2bbff1b_1 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.10.4 hd328e21_0 funcy 1.17 pyhd8ed1ab_0 conda-forge future 0.18.2 py39haa95532_1 glib 2.69.1 h5dc1a3c_1 gst-plugins-base 1.18.5 h9e645db_0 gstreamer 1.18.5 hd78058f_0 icc_rt 2019.0.0 h0cc432a_1 icu 58.2 ha925a31_3 idna 3.3 pyhd3eb1b0_0 intel-openmp 2021.4.0 haa95532_3556 ipykernel 6.15.2 py39haa95532_0 ipython 8.4.0 py39haa95532_0 ipython_genutils 0.2.0 pyhd3eb1b0_1 ipywidgets 7.6.5 pyhd3eb1b0_1 jedi 0.18.1 py39haa95532_1 jinja2 3.0.3 pyhd3eb1b0_0 joblib 1.1.0 pyhd3eb1b0_0 jpeg 9e h2bbff1b_0 json5 0.9.6 pyhd3eb1b0_0 jsonschema 4.4.0 py39haa95532_0 jupyter 1.0.0 py39haa95532_8 jupyter-contrib-core 0.4.0 pypi_0 pypi jupyter-contrib-nbextensions 0.5.1 pypi_0 pypi jupyter-highlight-selected-word 0.2.0 pypi_0 pypi jupyter-latex-envs 1.4.6 pypi_0 pypi jupyter-nbextensions-configurator 0.5.0 pypi_0 pypi jupyter_client 7.3.5 py39haa95532_0 jupyter_console 6.4.3 pyhd3eb1b0_0 jupyter_core 4.10.0 py39haa95532_0 jupyter_server 1.18.1 py39haa95532_0 jupyterlab 3.4.4 py39haa95532_0 jupyterlab_pygments 0.1.2 py_0 jupyterlab_server 2.12.0 py39haa95532_0 jupyterlab_widgets 1.0.0 pyhd3eb1b0_1 kiwisolver 1.4.2 py39hd77b12b_0 lerc 3.0 hd77b12b_0 libblas 3.9.0 1_h8933c1f_netlib conda-forge libbrotlicommon 1.0.9 h2bbff1b_7 libbrotlidec 1.0.9 h2bbff1b_7 libbrotlienc 1.0.9 h2bbff1b_7 libcblas 3.9.0 5_hd5c7e75_netlib conda-forge libclang 12.0.0 default_h627e005_2 libdeflate 1.8 h2bbff1b_5 libffi 3.4.2 hd77b12b_4 libiconv 1.16 h2bbff1b_2 liblapack 3.9.0 5_hd5c7e75_netlib conda-forge libogg 1.3.5 h2bbff1b_1 libpng 1.6.37 h2a8f88b_0 libsodium 1.0.18 h62dcd97_0 libtiff 4.4.0 h8a3f274_0 libvorbis 1.3.7 he774522_0 libwebp 1.2.2 h2bbff1b_0 libxml2 2.9.14 h0ad7f3c_0 libxslt 1.1.35 h2bbff1b_0 lxml 4.9.1 pypi_0 pypi lz4-c 1.9.3 h2bbff1b_1 m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markupsafe 2.1.1 py39h2bbff1b_0 matplotlib 3.5.2 py39haa95532_0 matplotlib-base 3.5.2 py39hd77b12b_0 matplotlib-inline 0.1.6 py39haa95532_0 menuinst 1.4.19 py39h59b6b97_0 mistune 0.8.4 py39h2bbff1b_1000 mkl 2021.4.0 haa95532_640 mkl-service 2.4.0 py39h2bbff1b_0 mkl_fft 1.3.1 py39h277e83a_0 mkl_random 1.2.2 py39hf11a4ad_0 msys2-conda-epoch 20160418 1 conda-forge munkres 1.1.4 py_0 navigator-updater 0.3.0 py39haa95532_0 nbclassic 0.3.5 pyhd3eb1b0_0 nbclient 0.5.13 py39haa95532_0 nbconvert 6.4.4 py39haa95532_0 nbformat 5.3.0 py39haa95532_0 nest-asyncio 1.5.5 py39haa95532_0 networkx 2.8.4 py39haa95532_0 nltk 3.7 pyhd3eb1b0_0 notebook 6.4.12 py39haa95532_0 numexpr 2.8.3 py39hb80d3ca_0 numpy 1.22.3 py39h7a0a035_0 numpy-base 1.22.3 py39hca35cd5_0 oauthlib 3.2.0 pyhd3eb1b0_1 openssl 1.1.1q h8ffe710_0 conda-forge packaging 21.3 pyhd3eb1b0_0 pandas 1.4.3 py39hd77b12b_0 pandocfilters 1.5.0 pyhd3eb1b0_0 parso 0.8.3 pyhd3eb1b0_0 pathlib 1.0.1 pyhd3eb1b0_1 pcre 8.45 hd77b12b_0 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 9.2.0 py39hdc2b20a_1 pip 22.1.2 py39haa95532_0 ply 3.11 py39haa95532_0 praw 7.6.0 pyhd8ed1ab_0 conda-forge prawcore 2.3.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.14.1 py39haa95532_0 prompt-toolkit 3.0.20 pyhd3eb1b0_0 prompt_toolkit 3.0.20 hd3eb1b0_0 psutil 5.9.0 py39h2bbff1b_0 pure_eval 0.2.2 pyhd3eb1b0_0 pycosat 0.6.3 py39h2bbff1b_0 pycparser 2.21 pyhd3eb1b0_0 pygments 2.11.2 pyhd3eb1b0_0 pyjwt 2.4.0 py39haa95532_0 pyldavis 2.1.2 pyhd8ed1ab_1 conda-forge pyopenssl 22.0.0 pyhd3eb1b0_0 pyparsing 3.0.9 py39haa95532_0 pyqt 5.15.7 py39hd77b12b_0 pyqt5-sip 12.11.0 py39hd77b12b_0 pyrsistent 0.18.0 py39h196d8e1_0 pysocks 1.7.1 py39haa95532_0 python 3.9.13 h6244533_1 python-dateutil 2.8.2 pyhd3eb1b0_0 python-fastjsonschema 2.16.2 py39haa95532_0 python-louvain 0.15 pyhd8ed1ab_1 conda-forge python_abi 3.9 2_cp39 conda-forge pytz 2022.1 py39haa95532_0 pywin32 302 py39h2bbff1b_2 pywinpty 2.0.2 py39h5da7b33_0 pyyaml 6.0 py39h2bbff1b_1 pyzmq 23.2.0 py39hd77b12b_0 qt-main 5.15.2 he8e5bd7_7 qt-webengine 5.15.9 hb9a9bb5_4 qtconsole 5.3.2 py39haa95532_0 qtpy 2.2.0 py39haa95532_0 qtwebkit 5.212 h3ad3cdb_4 regex 2022.7.9 py39h2bbff1b_0 requests 2.28.1 py39haa95532_0 requests-oauthlib 1.3.0 py_0 ruamel_yaml 0.15.100 py39h2bbff1b_0 scikit-learn 1.1.1 py39hd77b12b_0 scipy 1.8.0 py39hc0c34ad_1 conda-forge send2trash 1.8.0 pyhd3eb1b0_1 setuptools 63.4.1 py39haa95532_0 sip 6.6.2 py39hd77b12b_0 six 1.16.0 pyhd3eb1b0_1 sniffio 1.2.0 py39haa95532_1 soupsieve 2.3.1 pyhd3eb1b0_0 sqlite 3.39.2 h2bbff1b_0 stack_data 0.2.0 pyhd3eb1b0_0 terminado 0.13.1 py39haa95532_0 testpath 0.6.0 py39haa95532_0 threadpoolctl 2.2.0 pyh0d69192_0 tk 8.6.12 h2bbff1b_0 toml 0.10.2 pyhd3eb1b0_0 toolz 0.11.2 pyhd3eb1b0_0 tornado 6.2 py39h2bbff1b_0 tqdm 4.64.0 py39haa95532_0 traitlets 5.1.1 pyhd3eb1b0_0 tweepy 4.10.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.3.0 py39haa95532_0 typing_extensions 4.3.0 py39haa95532_0 tzdata 2022a hda174b7_0 ujson 5.4.0 py39hd77b12b_0 update_checker 0.18.0 pyh9f0ad1d_0 conda-forge urllib3 1.26.11 py39haa95532_0 vc 14.2 h21ff451_1 vs2015_runtime 14.27.29016 h5e58377_2 wcwidth 0.2.5 pyhd3eb1b0_0 webencodings 0.5.1 py39haa95532_1 websocket-client 0.58.0 py39haa95532_4 wheel 0.37.1 pyhd3eb1b0_0 widgetsnbextension 3.5.2 py39haa95532_0 win_inet_pton 1.1.0 py39haa95532_0 wincertstore 0.2 py39haa95532_2 winpty 0.4.3 4 wordcloud 1.8.2.2 py39hb82d6ee_0 conda-forge xz 5.2.5 h8cc25b3_1 yaml 0.2.5 he774522_0 zeromq 4.3.4 hd77b12b_0 zlib 1.2.12 h8cc25b3_2 zstd 1.5.2 h19a0ad4_0