-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analyser to create a XLSX for Gephi from Twitter scrape #152
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2e0c4a3
to
39d7455
Compare
Fix build and implement #153 before merge. |
breezykermo
added a commit
that referenced
this pull request
May 4, 2020
* rms faulty line in build * factor out common twint utilities * gets direct replies through another twint search * WIP: start preparing graph logic * WIP: start structuring CSV graph * actually export CSV * minor fix * update requirements.txt * correct dest_q update * add download_videos option to Twitter selector * lint * proper fix * correct info.yaml Co-authored-by: Lachlan <Kermode>
breezykermo
added a commit
that referenced
this pull request
May 4, 2020
This reverts commit b924abf.
breezykermo
added a commit
that referenced
this pull request
May 8, 2020
* rms faulty line in build * Analyser to create a XLSX for Gephi from Twitter scrape (#152) * rms faulty line in build * factor out common twint utilities * gets direct replies through another twint search * WIP: start preparing graph logic * WIP: start structuring CSV graph * actually export CSV * minor fix * update requirements.txt * correct dest_q update * add download_videos option to Twitter selector * lint * proper fix * correct info.yaml Co-authored-by: Lachlan <Kermode>
breezykermo
added a commit
that referenced
this pull request
May 8, 2020
* rms faulty line in build * Analyser to create a XLSX for Gephi from Twitter scrape (#152) * rms faulty line in build * factor out common twint utilities * gets direct replies through another twint search * WIP: start preparing graph logic * WIP: start structuring CSV graph * actually export CSV * minor fix * update requirements.txt * correct dest_q update * add download_videos option to Twitter selector * lint * proper fix * correct info.yaml Co-authored-by: Lachlan <Kermode> * modify to pass all_elements to post_analyse by default * WIP: scaffold rank * make in_parallel configurable * refactor Rank analyser to a single function * fix tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Because the Twitter selector uses twint under the hood to mine tweets, a simple search doesn't go through replies or retweets.
The TwintToGephi analyser I'm adding here uses a simple heuristic to create a relational tweet graph, and then produces an XLSX with two tabs ('Edges' and 'Vertices') that is Gephi-ready.
The heuristic is:
This final step is done in the
post_analyse
phase of the analyser, which produces the XLSX in a 'FINAL' element.