I remember seeing an article a while ago, where some local councils here specifically recommended building raised garden beds for veggie gardens. They apparently found, that in cities/towns older than about a hundred years, the risk of soil contamination can be pretty high, the main suspects being lead and arsenic. Raised garden beds is an easy way of eliminating that risk.