I have one record per ID with start date and end date
id age state start_date end_date
123 18 CA 2/17/2019 5/4/2019
223 24 AZ 1/17/2019 3/4/2019
I want to create a record for each day between the start and end day, so I can join daily activity data to it. The target output would look something like this
id age state start_date
123 18 CA 2/17/2019
123 18 CA 2/18/2019
123 18 CA 2/19/2019
123 18 CA 2/20/2019
123 18 CA 2/21/2019
…
123 18 CA 5/2/2019
123 18 CA 5/3/2019
123 18 CA 5/4/2019
And of course do this for all ids and their respective start dates in the dataset. Any help is much appreciated - thanks!