Modified rvcData so that it subsets data before aggregating
Subsetting before aggregating significantly speeds up function