Thanks for a really neat and expansive stata package!
So I have a dataset from wikipedia and I basically have ten articles (called substance) and all editors who have edited the articles (called user). There is a significant overlap between users editing different articles so there is a network here. With the nw2fromedge command I wanted to do the project(1) option to get the ten articles as nodes, but this fails with the following error after running this sequence:
keep SUBSTANS USER
bysort SUBSTANS USER: egen test = count(1)
drop if test<4 //simply to get only the most important users for when testing this network, I have run this without this selection as well and still it fails
sort SUBSTANS USER
drop test
duplicates drop
nw2fromedge SUBSTANS USER, name(test99) project(1)
error I get back "Either option gen or option stub needs to be specified. invalid syntax"
Can you advice me on what is wrong?
kind regards
Kristian