Code from the blog article COVID-19 Variants and Chunking https://github.com/analytic-garden/COVID-19-Variants-and-Chunking and XBB.1.5 and More Chunking https://analyticgarden.blogspot.com/2023/01/xbb15-and-more-chunking.html.
See the blog posts for details.