Hi,
I am using two datasets with the aim to merge them according to the name of the place. The first dataset is the 2011 South African data, whereby the variable "sp_name" (which i've made all lower case) has unique individual names of small places in South Africa. The other data set has the variable "suburb" - these individual variable names are not entirely dissimilar to those of sp_name, however there are some cases of misspelling and mismatch. For instance, there are variables for sp_name such as "xx sp" and then for suburb it would just be "xx."
The other problem is that there is a mismatch in the number of observations for each, some missing etc.
I have attempted to understand the reclink and matchit command without much success in using them - I would get the return that "the variable cannot be found" although I did follow the same syntax.
Am I missing something with this problem that would allow for me to solve it conceptually?
Thank you
Related Posts with Merging two datasets by different variable names (fuzzy match) - help with reclink and matchit
Forval simulation, 100 timesDear Stalist, I want to run and repeat this command line 100 times and then after the repetition, ta…
Panel data - time fixed effects modelDear All, I'm writing with probably simple question however, I'm really new in this topic and I rea…
rangestat faster than reghdfeI am trying to run the following and it is very slow. I believe it is possible to speed it up using …
Problem with two step difference/system GMM estimator using "xtabond2"Dear all, It is my first post on Statalist, I hope I am doing everything fine, I read all the FAQs …
Question about generating a small table, having issues with getting the categories set up as I wantGood day, I would like to create a simple table (I use multiple imputations) with 2 variables I wan…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two datasets by different variable names (fuzzy match) - help with reclink and matchit
Post a Comment