Skip to content

Commit

Permalink
Merge pull request #648 from worldbank/gronert-m-patch-1
Browse files Browse the repository at this point in the history
correct unified sub1 naming
  • Loading branch information
yannwbg authored Oct 3, 2024
2 parents f1be960 + 255ef37 commit fbc3883
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,14 @@ local out_file "`level_2_harm'_ALL.dta"
gen subnatid1=A3
tostring subnatid1, replace
replace subnatid1=subnatid1+" - "+marzname

* Unite names to entire series
replace subnatid1 = "5 - Gegharkunik" if subnatid1 == "5 - Gegharquniq"
replace subnatid1 = "6 - Lori" if subnatid1 == "6 - Lory"
replace subnatid1 = "7 - Kotayk" if subnatid1 == "7 - Kotayq"
replace subnatid1 = "9 - Syunik" if subnatid1 == "9 - Sjuniq"
replace subnatid1 = "10 - Vayoc Dzor" if subnatid1 == "10 - Vajoc Dzor"

label var subnatid1 "Subnational ID at First Administrative Level"
*</_subnatid1_>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ local out_file "`level_2_harm'_ALL.dta"
gen subnatid1=A3
tostring subnatid1, replace
replace subnatid1=subnatid1+" - "+marzname

* Unite names to entire series
replace subnatid1 = "5 - Gegharkunik" if subnatid1 == "5 - Gegharquniq"
replace subnatid1 = "6 - Lori" if subnatid1 == "6 - Lory"
replace subnatid1 = "7 - Kotayk" if subnatid1 == "7 - Kotayq"
replace subnatid1 = "9 - Syunik" if subnatid1 == "9 - Syuniq"

label var subnatid1 "Subnational ID at First Administrative Level"
*</_subnatid1_>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ local out_file "`level_2_harm'_ALL.dta"
gen subnatid1=A3
tostring subnatid1, replace
replace subnatid1=subnatid1+" - "+marzname

* Unite names to entire series
replace subnatid1 = "5 - Gegharkunik" if subnatid1 == "5 - Gegharquniq"
replace subnatid1 = "6 - Lori" if subnatid1 == "6 - Lory"
replace subnatid1 = "7 - Kotayk" if subnatid1 == "7 - Kotayq"
replace subnatid1 = "9 - Syunik" if subnatid1 == "9 - Syuniq"

label var subnatid1 "Subnational ID at First Administrative Level"
*</_subnatid1_>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,11 @@ local out_file "`level_2_harm'_ALL.dta"
gen subnatid1=A3
tostring subnatid1, replace
replace subnatid1=subnatid1+" - "+marzname

* Unite names to entire series
replace subnatid1 = "7 - Kotayk" if subnatid1 == "7 - kotayk"
replace subnatid1 = "10 - Vayoc Dzor" if subnatid1 == "10 - Vayots dzor"

label var subnatid1 "Subnational ID at First Administrative Level"
*</_subnatid1_>

Expand Down

0 comments on commit fbc3883

Please sign in to comment.