I am not entirely new to R but I could use a hand in this one :)
So, I have a dataset on around 14k different stocks over the past 20 years. Now, clearly, some of these s