Analysis code for the paper "Cesarean section and the gestational duration of subsequent pregnancies: a nationwide retrospective cohort study"