Code:
ds, has(type string) quietly foreach v in `r(varlist)'{ replace `v' = "" if inlist(`v', "n.a") }
Note: I have a lot of variables with different names (e.g. age, number of qualifications).
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
ds, has(type string) quietly foreach v in `r(varlist)'{ replace `v' = "" if inlist(`v', "n.a") }
0 Response to Cleaning the "n.a" in my dataset using Stata
Post a Comment