I am using sqldf library to manipulate data frame in R. Currently, I have a data frame like this:
ID Start_Date End_Date
1 08-29 09-01
I want to create a new data frame using sqldf to create a range of dates between the Start_Date and the End_Date, for example, for ID1, I want the final data frame look like:
ID Date_Range
1 08-29
1 08-30
1 08-31
1 09-01
I think I can just create a new data frame. But I am wondering if it is possible to implement in sqldf?