Categories
Uncategorized

From nCol to Pajek 1/2 – Python

This process will take nCol data and create the *Vertices and *Edges Pajek sections. Pulled all the nCol data from the database and saved as links.txt, which reads: I pulled all the user names from the database and saved in a temporary file, usrTemp.txt. Removed all duplicates with the terminal and saved the file as […]

Categories
Uncategorized

From Edge List to User List using R

The objective is to turn an edgelist into a user list, and then apply Bradford’s Law from my previous post. My raw data is in edge list format, where each row represents an interaction between two community members (actors), and the actor names are separated by a single space, like this So here we have […]

Categories
Uncategorized

The People in the Middle – R

Following from my long theoretical post about the people in the middle, I now need to split a very long list of users into three groups, according to the number of posts (frequency), so that each groups is responsible for 1/3 of posts. In other words, group one will be responsible for percentiles 0% to […]

Categories
Uncategorized

The People in the Middle – the theory

So today I’m sorting out the list of users according to Bradford’s Law of distribution, which mainly consists of dividing the lists into three groups, where each group is responsible for 33% of posts. The idea is that the first group, made up of those who post the most, will be small. Then the second […]