Hi All,
I usually can solve my questions with existing threats from the forum, however I seem to be stuck now.
I want to merge the Masterfile including ZIP codes with another one with single ZIP codes and their latitude and longitude.
- merge m:1 ZIP using H:\usingfile.dta
It never matches a single observation, also not with 1:1, m:m or 1:m.
I can't spot the problem and can't find any similar problems in the threats, any idea?
I have ZIP from the Master file as:
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------
ZIP str10 %10s
and the file I want to use with:
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------
ZIP str7 %9s PCD
I usually can solve my questions with existing threats from the forum, however I seem to be stuck now.
I want to merge the Masterfile including ZIP codes with another one with single ZIP codes and their latitude and longitude.
- merge m:1 ZIP using H:\usingfile.dta
It never matches a single observation, also not with 1:1, m:m or 1:m.
I can't spot the problem and can't find any similar problems in the threats, any idea?
I have ZIP from the Master file as:
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------
ZIP str10 %10s
and the file I want to use with:
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------
ZIP str7 %9s PCD
Comment