I don't quite understand by what you mean by unsafe.?. When I moved here in 1993, I was told never go downtown after sunset. We then had a new mayor come in who made it his priority to clean up and revitalize downtown which he did. Much of downtown Raleigh is now a vibrant place to live and play. Lots of restaurants, bars and entertainment.
I have never felt unsafe living here. My wife and I have raised 3 children from their early years here and now all 3 still live in the area and have purchased their own homes. Are there areas I might avoid, yes! But I don't know of any city that doesn't have those and I've lived in Atlanta, Tucson, Northern DC area, Scranton, and several other areas outside of cities. For the most part, Raleigh is probably one of the safer places I've been.
As far as a 2 bedroom, sounds like you are looking for an apartment, condo or townhome. Are you looking to rent or purchase? I would be more than happy to assist you if I can and can be reached at email@example.com