code: func populateAggregations(rawRowName string, rawVal []interface{}, val *core.TimestampedAggregationValue, aggregationLookup map[core.AggregationType]int, wasInt map[string]bool) error {
  	for _, aggregation := range core.MultiTypedAggregations {
  		if err := setAggregationValueIfPresent(aggregation, rawVal, &val.AggregationValue, aggregationLookup, wasInt); err != nil {
  			glog.Errorf("Unable to parse field %q in series %q: %v", aggregation, rawRowName, err)
  			return fmt.Errorf("Unable to parse values in series %q", rawRowName)
  		}
  	}
  
  	return nil
  }
docs: // populateAggregations extracts aggregation values from a given data point