Hi all,
I would like to merge two datasets by identifier and date within range
dataset A:
accountnumber variableA date
dataset B:
accountnumber variableB startdate enddate
I would like to have a dataset like:
accountnumber variableA variableB date
where date would be between startdate and enddate
I looked at range join, but it seems like it would only accomplish merging using one variable? But I would like to have oaccountumber matched as well.
Thanks so much!
Related Posts with Merge identifier and date within range
How to convert the reg command to reghdfe code in controlling three dimensions?How to convert this code controlling for three ways fixed effect to reghdfe code? Code: reg y x i.…
Estimation of ATT for a naive regression estimatorHello, I want to estimate an average treatment effect on the treated (ATT) for a naive regression wi…
How to create a varaible based on each value of existing variable in did_imputation?I have the Syntax of did_imputation is as below Array I am wondering how to create the variable Ei.…
Identifying variable that contains rowmax valueI am trying to identify the variable that equals the rowmax variable, but am running into issues. I…
How to Getting Rid of The Factorial Variables after Deleting Multicolinear Variables Using "_rmcoll"I have a set of variables X1, X2, X3, X4, X5. Among them, X5 is colinear with X3. So I use the comma…
Subscribe to:
Post Comments (Atom)
0 Response to Merge identifier and date within range
Post a Comment