Records of 975,057 soldiers who served during a six-year period analysed.