Skip to content

Commit

Permalink
Update 2_cleanheightdata.do
Browse files Browse the repository at this point in the history
  • Loading branch information
rc16 authored Aug 11, 2022
1 parent 61fdb96 commit b656344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/2_cleanheightdata.do
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ drop data3 data4 data5 data6 data7

* Generates pracid from patid
tostring patid, generate(str_patid)
gen str_pracid = substr(str_patid,-3,3)
gen str_pracid = substr(str_patid,-5,5)
destring str_pracid, gen(pracid)
drop str_pracid str_patid

Expand Down

0 comments on commit b656344

Please # to comment.