Spatial and temporal quantification of resilience at the community scale