I have a dataset called salaries that have yearID as a column. I would like to specify the range of the year from 2010 to 2014. How could I do that in r ? I have tried this
df <- Salaries(yearID=c(2010,2011,2012,2013,2014))
also,
salar09-05<-Salaries(yearID=c(2010:2014))
and
sqldf("select * from salaries where yearID > 2009 and date < 2015")
neither one of them work.