Hello All,
I have a set of data that looks like the excerpt below:
[44] 2017-12-22 to 2017-12-29:
2017-12-22 (Fri) to 2017-12-29 (Fri) : rotation1 :
[email protected]
2017-12-22 (Fri) and 2017-12-23 (Sat) : rotation2 :
[email protected]
2017-12-23 (Sat) and 2017-12-24 (Sun) : rotation3 :
[email protected]
2017-12-23 (Sat) and 2017-12-24 (Sun) : rotation4 :
[email protected]
2017-12-25 (Mon) to 2017-12-29 (Fri) : rotation5 :
[email protected]
2017-12-25 (Mon) to 2017-12-29 (Fri) : rotation6 :
[email protected]
2017-12-25 (Mon) to 2017-12-29 (Fri) : rotation7 :
[email protected] [email protected]
And, I am able to extract each person on each rotation and create a list by table using the stats command which looks something like this:
Person Rotation Dates
[email protected] rotation1 2017-12-22 (Fri) to 2017-12-29 (Fri)
This continues, and I get a table listing all the person's rotations for the year, however I run into an issue for rotation7 since there are usually 2 people on it, when I use mvzip for the rotation, dates and person It only picks up the first name, so it would look like rotation=(2017-12-25 (Mon) to 2017-12-29 (Fri) , rotation7,
[email protected]), however what I need is for it to pick up the second name as well and zip it with the correct rotation as a separate entry.
In other words, it would be the previous rotation I.E
rotation=(2017-12-25 (Mon) to 2017-12-29 (Fri) , rotation7,
[email protected]),
and another event as
rotation=(2017-12-25 (Mon) to 2017-12-29 (Fri) , rotation7,
[email protected]).
I have max_match=0, and I am expanding the events however I have not been able to figure this out, are the any suggestions?
Thanks you!
... View more