Skip to content

Debzou/Use_Case_for_PAM_position_ANT

Repository files navigation

Objective 1: Creating a data pipeline

How ?

Creation of a stream based on tweepy via the tweeter api.

Limit the flow

The received stream contains a large amount of data (tweet). That's why I focused only on tweets with more than 1000 retweets in order to avoid inappropriate tweets.

On the other hand, the location is retrieved from all tweets (appropriate or not) in order to make a tweeter map and thus be able to do deep analysis.

Then I stored the relevant tweets and locations in a NoSql database (MongoDB)

Objective 2: Creation of the API

The API allows to communicate with the database

@app.route("/hastage/<GRANULARITY>",methods=['GET'])
  
@app.route("/location",methods=['POST','GET'])

@app.route("/hastage",methods=['POST'])

Objective 3: The fontend

Creation of a dashboard that displays all the tweets on a map. But also to make a word cloud about the most relevant tweets (according to the month, hour and minute)

localhost:3000

Global architecture

archi

Notice

Start project ⭐

docker-compose up --build

localhost:5000 --> API

localhost:3000 --> Website

Dashboard screen

Dashboard Dashboard Dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published