im using R to create a table with data from another table and i'm working with the next variables:
-PRODUCT ID
-CLASIFICATION
-DATE
For example my origin table:
product id Clasification Date
10000567 B+ 12-12-2020
10000123 C+ 26-11-2020
10000567 A+ 02-11-2020
10000222 A+ 09-10-2020
10000123 B++ 21-09-2020
10000222 A++ 10-09-2020
The thing is that i need to get the most recently clasification for my products id's cause is a dynamic field and it can change always. One row for product id.
Any help will be great.
Thanks!