extractyears function

Extracts the elements of a data frame corresponding to a period between year_min and year_max for the stations listed in station