¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Analysis of egonet data: Can I use forfiles to join multiple output datasets? #egonetworks


 

Hi Steve (and group)
I often get asked how to deal with multiple egonet datasets. Forfiles in CLI will run a function like cohesion over multiple files as long as the names are consistent (i.e. egonet1, egonet2....).
This produces more multiple files/datasets; egonet1-coh, egonet2-coh... (as explained in Perry, Pescosolido and Borgatti)

I want to aggregate them into one dataset (i.e. Joincols) in order to run Univariate Stats across the whole array.
The join columns procedure in the main menu (-> Data ->Join) requires one to select each output file one at a time which is tedious when one has lots of cases. Similarly the CLI joincols requires each file name to be entered.

I have experimented with the forfiles procedure with joincols but cannot make it do this aggregation (concatenation).
Any suggestions?
Cheers,
Malcolm.

PS: Does the forfiles procedure still accept the ? for a single character wild card? It didn't seem to work for me, I had to use the *.


 

¿ªÔÆÌåÓý

Hi Malcolm, I¡¯m able to select multiple files in data|join|columns, like this:

?

?

Maybe a keyboard issue?

?

steve

?

From: [email protected] <[email protected]> On Behalf Of Malcolm Alexander via groups.io
Sent: Tuesday, February 15, 2022 21:47
To: [email protected]
Subject: [ucinet] Analysis of egonet data: Can I use forfiles to join multiple output datasets? #egonetworks

?

CAUTION: External Sender

?

Hi Steve (and group)
I often get asked how to deal with multiple egonet datasets. Forfiles in CLI will run a function like cohesion over multiple files as long as the names are consistent (i.e. egonet1, egonet2....).
This produces more multiple files/datasets; egonet1-coh, egonet2-coh... (as explained in Perry, Pescosolido and Borgatti)

I want to aggregate them into one dataset (i.e. Joincols) in order to run Univariate Stats across the whole array.
The join columns procedure in the main menu (-> Data ->Join) requires one to select each output file one at a time which is tedious when one has lots of cases. Similarly the CLI joincols requires each file name to be entered.

I have experimented with the forfiles procedure with joincols but cannot make it do this aggregation (concatenation).
Any suggestions?
Cheers,
Malcolm.

PS: Does the forfiles procedure still accept the ? for a single character wild card? It didn't seem to work for me, I had to use the *.


 

Is allowing multiple selections (with the Shift key) something that was changed in the last couple of years? I used to find it frustrating not to have that facility.

Other possibility is that I have just upgraded to Windows 11 and perhaps that is it.

Anyway thanks for the help.
Cheers,
M.