Change data type of year to integer.