Hi folks,
I am a newbie to R and stuck in brining the data in analyzable format. I have the data in the format as below:
Item | Item # | Date | Type | Description |
---|---|---|---|---|
A | 100 | 22/01/2022 | 511 | Desc1 |
B | 200 | 15/01/2022 | 511 | Desc2 |
A | 100 | 20/03/2022 | 711 | Desc1 |
B | 200 | 16/02/2022 | 711 | Desc2 |
A | 300 | 10/02/2022 | 511 | Desc3 |
Required output format:
Item | Item # | Out Date | In Date | Description |
---|---|---|---|---|
A | 100 | 22/01/2022 | 20/03/2022 | Desc1 |
B | 200 | 15/01/2022 | 16/02/2022 | Desc2 |
These are the outbound and inbound transactions. Type 511 are outbound and Type 711 are inbound. I need to show the data as against "Item" and "Item #" match. Hope I am able to explain the requirement.
Thanks in advance...