Skip to content

Commit

Permalink
📝 Update the documentation and the clean the structure
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknovak committed Sep 23, 2022
1 parent ba590fb commit b2aeed9
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 157 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API_KEY=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
45 changes: 27 additions & 18 deletions scripts/run_news_collector.sh → scripts/collect_news_articles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ $ENVS = *"$REPO_ENV"* ]]; then
# activate the environment
conda activate "$REPO_ENV"
else
echo "Project environment not setup. Please run 'setup_environment.sh' script"
echo "Project environment not setup. Please create the environment"
exit
fi;

Expand Down Expand Up @@ -58,20 +58,20 @@ declare -a LANGUAGES=(
# TODO: prepare a list of query options to retrieve the data from
# QUERY FORMAT: date-start;date-end;comma-separated-concepts
declare -a QUERIES=(
"2021-10-01;2021-11-29;pandora papers"
"2020-01-01;2021-11-29;panama papers"
"2020-01-01;2021-11-29;global chip shortage"
"2021-03-22;2021-11-29;ever given,suez canal"

"2020-01-01;2021-11-29;presidency of the council of the european union"
"2020-01-01;2021-11-29;european migrant crisis"
"2020-01-01;2021-11-29;hong kong,demonstration"

"2020-01-01;2021-11-29;association football,premier league"
"2020-01-01;2021-11-29;association football,bundesliga"
"2020-01-01;2021-11-29;association football,la liga"
"2021-10-01;2021-12-31;pandora papers"
"2020-01-01;2021-12-31;panama papers"
"2020-01-01;2021-12-31;global chip shortage"
"2021-03-22;2021-12-31;ever given,suez canal"

"2020-01-01;2021-12-31;presidency of the council of the european union"
"2020-01-01;2021-12-31;european migrant crisis"
"2020-01-01;2021-12-31;hong kong,demonstration"

"2020-01-01;2021-12-31;association football,premier league"
"2020-01-01;2021-12-31;association football,bundesliga"
"2020-01-01;2021-12-31;association football,la liga"
"2020-08-01;2021-05-31;association football,UEFA europa league"
"2021-08-01;2021-11-29;association football,UEFA europa league"
"2021-08-01;2021-12-31;association football,UEFA europa league"
"2020-06-01;2020-07-31;association football,uefa european championship"

"2021-07-01;2021-08-20;olympic games,japan,basketball"
Expand All @@ -89,12 +89,21 @@ declare -a QUERIES=(

"2020-01-01;2020-06-01;kobe bryant,helicopter"

"2020-01-01;2021-11-29;basketball,nba"
"2020-01-01;2021-12-31;basketball,nba"

"2020-01-01;2021-11-29;me too movement"
"2020-01-01;2021-11-29;black lives matter"
"2020-01-01;2021-12-31;me too movement"
"2020-01-01;2021-12-31;black lives matter"

"2020-01-01;2021-12-31;volcano,types of volcanic eruptions"

"2020-11-01;2021-01-04;vienna, austria, terrorism"
"2020-08-04;2021-01-31;beirut, lebanon, ammonium nitrate"
"2020-08-04;2021-01-31;united states capitol, washington, d.c., united states, riot"
"2020-01-01;2021-12-31;united states, kabul, afganistan, taliban, united states armed forces"
"2020-01-06;2021-01-31;iran, ukraine, airplane"
"2020-01-01;2021-12-31;earthquake, richter magnituda scale"
"2020-01-01;2021-12-31;eurovision song contest, rotterdam, netherlands"

"2020-01-01;2021-11-29;volcano,types of volcanic eruptions"
# TODO "climate crisis"
# TODO "coronavirus"
)
Expand Down
9 changes: 0 additions & 9 deletions scripts/run_label_studio.sh

This file was deleted.

3 changes: 1 addition & 2 deletions services/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Services

The external services, e.g. docker containers and data collectors, that are used
in this project.
The external services that are used in this project.
57 changes: 0 additions & 57 deletions services/label-studio/docker-compose.yml

This file was deleted.

53 changes: 0 additions & 53 deletions services/label-studio/nginx/default.conf

This file was deleted.

18 changes: 0 additions & 18 deletions services/label-studio/templates/topics.xml

This file was deleted.

0 comments on commit b2aeed9

Please sign in to comment.