Once #512 is merged, we could move the down sampling for summary data out of user environment code to reduce the need for external dependencies. cf. discussions in #531