No, directories are no substitute for the census but they do help establish residency, specific place of employment, the address & even some family members (by address).
"These directories also do a much, much better job with``foreign""names than do census takers & (especially) census transcribers."