I am wondering whether there is any other way to add monthly observations to my dataset, than me plotting them in. This is how my dataset looks
conflictid location year startdate epend ependdate
1-108 China, Myanmar (Burma) 1969 1969-02-28 1 1969-12-31
1-109 China, Russia (Soviet Union) 1969 1969-03-02 1 1969-12-31
1-110 El Salvador, Honduras 1969 1969-07-03 1 1969-07-18
What I want is for each month of conflict to have their own observation, such that there will be 11 observations for id 1-108 (one for each month of conflict), 10 observations for 1-109 and so on. Is there any way to do this based on the start- and enddate variables?
Thanks in advance!
conflictid location year startdate epend ependdate
1-108 China, Myanmar (Burma) 1969 1969-02-28 1 1969-12-31
1-109 China, Russia (Soviet Union) 1969 1969-03-02 1 1969-12-31
1-110 El Salvador, Honduras 1969 1969-07-03 1 1969-07-18
What I want is for each month of conflict to have their own observation, such that there will be 11 observations for id 1-108 (one for each month of conflict), 10 observations for 1-109 and so on. Is there any way to do this based on the start- and enddate variables?
Thanks in advance!
Comment