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
SignificanceI am analyzing the effect of gender on homeownership in the US and I keep finding that my female dum…
asdoc sum - does not allow analytical weightsDear Members, I am dealing with DHS dataset. I have individual sample weight (6 decimals) in my dat…
quick question about dividing the variable on the previous yearDear researchers, I have quick question, please. While I am reading papers, I have found one use the…
analyze the explanation of each X and the interaction of them to YDear Stata members, I have got a revise and resubmit from a journal. One of the referees have sugges…
Generalized Difference-in-DifferencesGood day all of you! I have a Diff-in-Diff model that I need help with. I want to estimate the ave…
Subscribe to:
Post Comments (Atom)
0 Response to Merging Data
Post a Comment