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
New Stata module for nonparametric errors-in-variables regressionA new Stata module for estimation of nonparametric errors-in-variables (EIV) regression (and constru…
Annual and Monthly Stock PricesDear All Hope you are well. I am working on some share prices and I would really appreciate some h…
Computing percentilesThis may be widely known, but in case not I thought I would share... Stata has several commands tha…
Get latitude using IP addressHi all, I want to pull latitude/longitude from IP addresses using: Code: geocode_ip ip_address, …
Issues with unbalanced Panel DataHello everyone: I have a few questions concerning the choices I have to make with respect to unbala…
Subscribe to:
Post Comments (Atom)
0 Response to Merge identifier and date within range
Post a Comment