Is Escondido Safe?

Hi everyone! Me and my wife are moving our family of 5 to San Diego this summer because of a Job opportunity. Unfourntley, we can't afford anything anywhere near San Diego and Escondido seemed to be the cheapest urban area. I have however heard that Escondido is unsafe from my friends who live in downtown San Diego. I am wondering how safe it is for families? Thanks.