In reply to Rebekah.

Thank you, Rebekah! Looking forward to your sharing another piece. By the way, in the blog post Splitting a data set into smaller data sets I present a solution for splitting data into smaller sets by either number of smaller sets or the number of observations not to exceed in the smaller sets. This might be applicable to your upcoming challenge.
Best regards,
Leonid