The analysis included data on crime, public schools, cost of living, job opportunities and local amenities.