It just occured to me that ...
... all this data being collected sounded familiar.
Foundation series of books by Isaac Asimov
"The premise of the series is that the mathematician Hari Seldon spent his life developing a branch of mathematics known as psychohistory, a concept of mathematical sociology. Using the laws of mass action, it can predict the future, but only on a large scale"