I am trying to destring my variable "district".
However, I get the following error:
Code:
. destring district, replace district: contains nonnumeric characters; no replace
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str35 district "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ADUR" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "ALLERDALE" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" "AMBER VALLEY" end
I am using Stata 15.1.
0 Response to Destring
Post a Comment