added line of code that reads in data and makes 'yearID' the timeseries index