Making your network anonymous

I use Polinode to survey my student classes, e.g., “who would you turn to for advice about this course?”. To give the network back to students I need to anonymise it - they can see the patterns but do not have names. To replace names with random IDs I created an R script, which takes in a network file, e.g., network_in.xlsx (with identifiable names), and writes out a new file, e.g., network_out.xlsx (names replaced by random IDs).
The code and sample input and output Excel network files are here:

There is no programming involved to use the script, but some familiarity with R is going to help!

2 Likes

Terrific @vidgen! Thanks for sharing the script.