Analytics ported from the official ASID R scripts (activity, injury, species, and period-of-day patterns).