Code utilized in the paper "Accelerometer-derived physical activity and mortality in individuals with type 2 diabetes"