I'm looking for US population data since 1900 (or earlier) with age and sex breakdowns. The data appears to be available from the US Census Bureau, but in may different text or Excel files, sometimes differently per decade. For example, 1980s data is one loosely structured text file.
I thought this might be common enough that someone knows of an aggregated source, or multiple files with consistent structure.