I have a data frame in R which looks like:
| RIC | Date | Open | |--------|---------------------|--------| | S1A.PA | 2011-06-30 20:00:00
dplyr is so much nicer for this sort of thing:
library(dplyr) yourDataFrame %>% distinct(RIC, Date, .keep_all = TRUE)
(the ".keep_all is optional. if not used, it will return only the deduped 2 columns. when used, it returns the deduped whole data frame)