sqldf: How to query based on a date condition
问题 I have spent a couple of hours researching this but I am getting nowhere unfortunately. I am trying to get a subset of data by using sqldf to query a data frame, result. This is the structure of result: > str(result) 'data.frame': 316125 obs. of 6 variables: $ ID : int 1 2 3 4 5 6 7 8 9 10 ... $ dt : Date, format: "1999-12-31" "1999-12-31" "1999-12-31" "1999-12-31" ... $ Ticker: chr "0111145D US" "0113357D US" "0202445Q US" "0203524D US" ... $ px : num 32.5 20.6 34.2 21.4 11 ... $ High : num