Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to mutate dates into ordinal value

I have a dataset of customers and the dates when their orders were placed. Some of the customers ordered more than once. What I intend is to get the ordinal position of each order (1st, 2nd, 3rd...) this grouped by Customer ID so that I can study for example the 3rd order of each customer.

Hope you can help ! Thanks

Comments