Hi,
I want to match 2 columns with different patterns of city names (not sorted, no similar observations).
I need to match the names ("upazila_name") with the original city names ("admin3name_en") and gen a city codes ("admis3pcode").
I used machit command, it did not work for me, maybe because it considers row to row matching.
What I suspect is I need to use foreach command with matchit, but I am not sure how?
Or is there any other suggestions, please do. Would be helpful.
glimpse of the data is attached here.
Thanks in advance
Array
Related Posts with how do i match two colums with different patterns of city names
is it possible to do a repeated Measures ANOVA without case identifierHi all, I am currently using a Qualtrics platform survey to measure the perceived social consensus …
Merging two databases. With different dates. Best method?Dear members, These days I am working on my (master) thesis and I am working with Stata in order t…
destringingHello, I was wondering if anyone could help me destring certain variable in my dataset. I have a var…
Labeling multiple variables using the foreach loopI am trying to learn the foreach loop command in Stata 13.0. I want to label multiple variables usin…
defining perfect sequence pairs and average non-perfect pairs of dataDear all, In the data structure below I have a perfect sequences Buy (B) Sell (S). Sometimes Buy or…
Subscribe to:
Post Comments (Atom)
0 Response to how do i match two colums with different patterns of city names
Post a Comment