gets yearly and monthly averages