The best thing to do is to check with the SF Police Department regarding the activity in the area of concern and to talk to nthem about what you see. It's always a good idea too to check out the area you're thinking about moving to. Go at different times of the day and on different days. This can tell you a lot.
Best of luck.
Rich Bennett, Realtor in Sf since 2002
Zephyr Real Estate