I would like to find a way to generate what might be called a "family tree" for a stock. Given a stock symbol and a future date, I'd like a graph (either literally or represented in list or other format) that shows stock splits, spinoffs, and mergers up to the present date or perhaps just to another specified date.
I'd also like to go backwards: given a stock symbol and a past date, I'd like a family tree that shows its ancestors from today (or perhaps a predefined date) back to the date I specify.
Does something like that exist? I tend to work in R a lot, so that would be nice, although I'm also open to Web sites that might offer such a service, preferably for free.