Dear All
I have a cross-section data and I want to merge it with shapefile using a key variable 'district id'. My cross-section data has 119,018 observations. I am using m:1 merge, it does merge the data but after that, I cannot use any 'sp' command on my merged data set because it gives the error that "_ID does not uniquely identify the observation". I followed the steps given in the manual https://www.stata.com/manuals/spspset.pdf. If anyone can help solve this issue, would be great.
I have a cross-section data and I want to merge it with shapefile using a key variable 'district id'. My cross-section data has 119,018 observations. I am using m:1 merge, it does merge the data but after that, I cannot use any 'sp' command on my merged data set because it gives the error that "_ID does not uniquely identify the observation". I followed the steps given in the manual https://www.stata.com/manuals/spspset.pdf. If anyone can help solve this issue, would be great.

Comment