Companion R package for MOSAIC website