Social accounting in the local economy