 Because astronomy was the first of what would then become sciences to actually have access to a plethora of quantitative data. That was, of course, in the 16th century when astronomers started working out algorithms.