How to find balanced panel data in R (aka, how to find which entries in panel are complete over given window)
问题 I have a big panel of data from Compustat. To it I am adding some hand-collected data (seriously hand-collected from a stack of old books). But I don't want to hand-collect for the entire panel, only a randomly selected subset. To find the larger set (from which I'm randomly selecting) I would like to start with the balanced panel from Compustat. I see the plm library for working with unbalanced panels, but I would like to keep it balanced. Is there a clean way to do this short of searching