{"id":23265746,"url":"https://github.com/andreip/twitter-authorities","last_synced_at":"2026-04-19T15:02:10.905Z","repository":{"id":17765140,"uuid":"20624909","full_name":"andreip/twitter-authorities","owner":"andreip","description":"Find authorities for Twitter topics. [Licenta][Undergraduate thesis]","archived":false,"fork":false,"pushed_at":"2016-03-17T14:52:22.000Z","size":9816,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T12:57:00.985Z","etag":null,"topics":["data-analysis","mongodb","python","twitter-topics"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-08T19:46:26.000Z","updated_at":"2023-10-13T14:38:13.000Z","dependencies_parsed_at":"2022-09-05T05:21:36.615Z","dependency_job_id":null,"html_url":"https://github.com/andreip/twitter-authorities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Ftwitter-authorities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Ftwitter-authorities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Ftwitter-authorities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Ftwitter-authorities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreip","download_url":"https://codeload.github.com/andreip/twitter-authorities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450800,"owners_count":20940938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","mongodb","python","twitter-topics"],"created_at":"2024-12-19T15:32:18.810Z","updated_at":"2026-04-19T15:02:05.869Z","avatar_url":"https://github.com/andreip.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"Summary\n---\n\nFind authorities for Twitter topics. Needs to download tweets (fetching stage), then it can compute based on fetched tweets.\nRequirements:\n* the implementation uses mongodb to store downloaded tweets\n* see requirements.txt for more, but main packages used are: pymongo, tweepy, scikit-learn, numpy, scipy\n\nSee results from datasets included in `dump/licenta` folder. Results are in `.html` files in `dump/licenta/results/` folder. These results have been obtained with the current code, by using only `Retweet Impact` and `Mention Impact` features, see `paper/` folder for way more details and how we combined the metrics and analyzed results.\n\nUsage\n---\n1. populate mongoDB database with tweets\n  * use existing tweets in `dump/` folder. Import by using the `dump/import.sh` script like so:\n    * have a `mongod` running instance before running the script\n    * run the script from root folder like `$ ./dump/import.sh` and you're done.\n    * verify in mongod that you have successfully imported the data and the features+metrics:\n    ```mongo\n    \u003e db.getCollection(\"halep\").count()  # 2736`\n    \u003e db.getCollection(\"ukraine gas russia\").count()  # 16203\n    ```\n  * or fetch it yourself like say for topic \"ukraine gas russia\":\n  ```bash\n  # tells it to fetch a maximum of 100 pages x 100 per page =\u003e 10,000 tweets.\n  $ ./main.py fetch \"ukraine gas russia\" 100\n  ```\n  \n2. after we've added tweets in mongoDB, we can compute authorities for the collected tweets:\n\n  ```bash\n  # 2nd param should be a valid collection in mongoDB containing tweets.\n  # should give us the main authorities by processing all tweets from mongo collection \"ukraine gas russia\".\n  ./main.py compute \"ukraine gas russia\"\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreip%2Ftwitter-authorities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreip%2Ftwitter-authorities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreip%2Ftwitter-authorities/lists"}