How do I transpose the data below to a single observation:
| Member ID | Fill Date | index date | days_supply |
| 603 | 2/17/2005 | 2/17/2005 | 30 |
| 603 | 6/13/2005 | 2/17/2005 | 30 |
| 603 | 8/11/2005 | 2/17/2005 | 30 |
End goal is for the data above to look like this:
| Member ID | Fill date 1 | Fill date 2 | Fill Date 3 | days supply 1 | days supply 2 | days supply 3 | Start Date | End Date |
| 603 | 2/17/2005 | 6/13/2005 | 8/11/2005 | 30 | 30 | 30 | 2/17/2005 | 8/15/2005 |
Thanks!