I am attempting to combine several datasets. One contains yearly ownership of various firms by three funds, and the other contains firm-specific financials (R&D, CAPEX, etc) for 2012-2021. ~86,000 observations for ~670 firms. I wish to merge the firm yearly data to the appropriate ownership data (sorted here by holdingDate); the 2012 R&D spending to all filing dates in 2012, and so on. I was hoping to use firm name and year as key variables, but as year is a variable in the firm financials dataset, this isn't working. Is there a way to do this?
-
Login or Register
- Log in with
Comment