Buying a home and buying a house for investment are really two totally different things for most investors. You buy a home where you want to be. Everyone anticipates it will appreciate but many more emotional factors come into play in the purchase of a home.
On the other hand, buying a house is where most investors become very analytical and evaluate a property based on their investment goals... Cash Flow, Appreciation, Below Market Acquisition Cost, Capital preservation, Repair Requirements and their own capabilities/ desires and personal preferences.
You can pull historical sales data for an area to see how much appreciation has occured... if you keep up on current events as you should... you will have a better understanding on what is proposed / planed for the area in the near and longer term. These will effect the future value of the properties in the area. What is occurring in adjacent area, with the rental occupancy rate is and how the rental rates compare to equivalent mortgage payments, number of foreclosures, new building both residential and commercial and any industrial activity. Their hundreds of "clues" as to what is going to happen with property values. Investors select what they feel is important and review those factors, they will change by location and current events.
So buy a home where you want to live, but investment properties require far more detail evaluation by most investors.