diff --git a/README.md b/README.md index cd457f9..0184279 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,17 @@ This repository contains the code behind the data analysis presented in the Vote - [Figshare dataset publication](https://doi.org/10.6084/m9.figshare.13571084) with digital object identifier (DOI) **10.6084/m9.figshare.13571084** -## Repository set up + +## Run the streamlit app ``` pip install -r requirements.txt -python -m spacy download en_core_web_lg +streamlit run app.py ``` -### Run the streamlit app +## Full repository set up ``` -streamlit run app.py +pip install -r requirements_extra.txt +python -m spacy download en_core_web_lg ``` # For repository maintainers (stechlab) diff --git a/requirements.txt b/requirements.txt index 1a18dcf..dfa22a7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,11 @@ streamlit==1.1.0 pandas -tweepy pickle5 python-dotenv -gensim -torch -sklearn -nltk matplotlib -bs4 -spacy seaborn -twarc tqdm -networkx -python-louvain tldextract -plotly \ No newline at end of file +plotly +altair==4 +protobuf==3.20.0 diff --git a/requirements_extra.txt b/requirements_extra.txt new file mode 100644 index 0000000..b1c29ee --- /dev/null +++ b/requirements_extra.txt @@ -0,0 +1,10 @@ +networkx +python-louvain +twarc +scikit-learn +bs4 +spacy +gensim +tweepy +torch +nltk