the coarseDataTools R package