The occupancy costs must be "affordable" meaning they cannot exceed 30% of the occupant's income. Since affordable housing for CD credit pertains to affordable housing primarily for low and moderate-income occupants, the first thing to do is to check to see if the rents would be <= 30% of the maximum income that qualifies as moderate-income. If they don't then don't waste your time pursuing a potential affordable housing project. But if they are <=30% then the next thing to do is to establish that the tenants are primarily LMI qualified. There are several ways to do this including proxies if you don't have the information regarding tenants income.
CRA Exam Preparation, CRA Performance Evaluations, Key Performance Benchmarks, & maps