This post relates to the previous one, I was not clear enough on that. I need to merge "data1" to "data2" so that date in "data1", which is "facilitystartdate" lies between dates in "data2" which are "start" and "end". For that I used the follwing command:
Code:
use data2 rangejoin facilitystartdate start end using "D:\Research\date1.dta", by(lenderid)
I attach .csv (origninal files). Please, help me with this issue.
0 Response to Merging two datasets within the interval of dates
Post a Comment