Cliodynamics is an attempt to collect and organize data on human history in a structured way that can be subjected to scientific testing. The link I just posted is to Peter Turchin’s blog, and the actual data set(s?) are available here.
There’s also a recently published book on comparative history called Figuring out the Past, which sounds interesting. My formal education in history, which did not extend past grade school, often focused on the history of individual countries (most obviously, the U.S.). Other offerings, which I didn’t have time to take in the course of my oh-so-practical engineering education, often seemed to focus on specific topics. I often wonder if it would be possible to teach kids world history more or less chronologically over the course of several years, and really delve into what was happening simultaneously in different parts of the world at various times. The other way I learn about history informally as an adult is to read or hear about a current event, then dig deeper into the history of a particular geographic area or human group to try to understand the context for the current event. I’m almost always surprised at how little context I actually had to understand the current event before I started digging, and I never have time to do as much digging as I might like.
Data is another way to look at/teach/learn about history. I’m often interested in how many people were alive at a given time, how much energy they used and what their energy sources were, and (somewhat morbidly) what they died of. But I don’t really know where to begin to look for most of that data.