By the beginning of the 18th century, life in the city of Edinburgh (today's Old Town) was overcrowded and unsanitary.
Life in Edinburgh was unsanitary in the early 18th century.
In the 18th century Edinburgh was very cleanly and under populated.