Not going to SF even for a limited time sounds a bit extreme. You can rent a cheap AirBnB and buy groceries from Safeway if you really want to control your costs. If its the homeless issue that bothers you, don't stay in SoMa or the Mission. You can actually get around the city for cheap using MUNI. Uber Pool and Lyft are also affordable options.