jinmanx / data-fair-g18 Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://www.twitterpeacemap.xyz/
Home Page: http://www.twitterpeacemap.xyz/
View this to get an idea of how we can use Mapbox and Plotly to display our results: https://towardsdatascience.com/how-to-create-an-attractive-bubble-map-5cf452c244e9
The two most common methods of topic analysis are topic modeling and topic classification. Topic modeling a text analysis technique that uses unsupervised machine learning to process text by topic or subject and cluster and categorize similar words and phrases, without the need to create defined tags (categories) ahead of time. With topic classification or topic extraction, on the other hand, you must pre-define the tags, use them to train a classification model, and the model will then categorize your texts (tweets) into the tags you set up.
There is a small change so we can use +GitRepo
on Edina. (We cannot upload main
branch)
Github changed the default branch name recently to use neutral term.
https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/
Google API
should be paid. I notice some example map can be interactive which is a good sign.Here is my suggestion for our next steps:
Based on the conflictlocation file from 23nd October (to start with):
Additional cleaning steps:
Create DataFrame with lat and on (latitude and longitude) values. Drop all rows without location. This can be achieved with Geocoding. For example, we can use GeoPy (check this out: https://towardsdatascience.com/geocode-with-python-161ec1e62b89 or https://geopy.readthedocs.io/en/latest/#nominatim)
Add sentiment value, hashtags, username and time for each row
Identify top tokenised words AND top hashtags used. Based on that decide which major event to concentrate on (lets say Armenia, Azerbaijan, Covid). Maybe: Segregate these in different DataFrames
After geocoding and cleaning, perform mapping with plotly:
https://medium.com/analytics-vidhya/plotly-for-geomaps-bb75d1de189f
If we want to be really funky (and have time) then we can also do a real-time stream of #conflict tweets VS #peace tweets:
https://medium.com/dev-genius/twitter-api-data-visualizations-with-pandas-and-plotly-1e9d0c00ab26
DOCUMENTATION FOR GEOPY: https://geopy.readthedocs.io/en/stable/#nominatim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.