Just a playful attempt at analyzing my ego network on the Fediverse
| .gitignore | Initial commit (for real this time) | |
| .lintr | Initial commit (for real this time) | |
| download.R | Initial commit (for real this time) | |
| LICENSE | Initial commit (for real this time) | |
| README.md | Initial commit (for real this time) | |
| tabulate.R | Fix typo | |
Just a playful attempt at analyzing my ego network on the Fediverse. Version 1 was featured in a blog post, rests on a different repository, and had a different approach.
The source code consists of two scripts:
download.R— Run this first. It downloads a list of Brazilian instances; recent posts, notifications and favorites; and all relevant accounts, including following and followers.tabulate.R— Run this second. It tabulates the relevant account data, and ranks the accounts and instances by the volume of interaction with the index account.
The scripts depend on R packages data.table, jsonlite and rtoot.
If you are not me, then you have to:
- Set up a "user" (not "public") token (see how to obtain and use a token).
- Assign an appropriate value to
my.idin both scripts (see how to find out an account'sid). - Assign an appropriate value to
my.instanceintabulate.R.