Hello all,
I have two datasets: one has a column of geographic identifiers and one has a column of geographic identifiers and a column of dates.
I am trying to create a dataset that will append every date from the second dataset to the corresponding row (with a matching geographic identifier) in the first dataset. There are multiple dates in the second dataset that correspond to each geographic identifier in the first dataset. I would like to create a unique row for each geographic identifier -- date combination. The final product should look something like this:
GEOID --- DATE
1 ............. Date 1
1 ............. Date 2
1 ............. Date 3
I am not sure how to do this. Does somebody have any idea?
Thank you!
Related Posts with Merging Data
Multicollinearity in regression analysisI need to test multicollinearity for my data set. I made the correlation matrix and I notice a corre…
Regrouping variablesHello everyone ! We are working on a project on Stata where we have to work on this regression : ln…
xtabond2 interaction terms between two continuous variables.Greetings Statalist members, I need your help to make sure that i did input the interaction term int…
Estimated coefficients structural VAR - svarHi, I am trying to estimate the coefficients of an svar model with exogenous variables. I understan…
Generating datesHi everyone, Just wanted to know how to generate dates based on this data: month1 | year1 | month2…
Subscribe to:
Post Comments (Atom)
0 Response to Merging Data
Post a Comment