Utilities for munging and reshaping various sources of activity data.