powered by
get_year(x, yr)
data(lgr2) get_year(lgr2, 1806) get_year(lgr2, 1805:1807)
Run the code above in your browser using DataLab