Data and code for paper on fossil insect diversity