Dear Stata users,
I am experiencing problems in importing a variable from a csv file. This variable values contains #, %, numbers and strings (example "1MISE#CSEE-N0115-CZ-1"). The problem is that these are imported all as numeric missing values. My guess is that special characters (# - %) cause the problem. Do you have a fix for this? My idea is to modify all csv's using other programs but I would rather do this directly importing the variable directly in Stata. I am currently using Stata14.
Thank you in advance for your answer.
Related Posts with Importing variable with special characters, strings and numbers
Table 2 Presenting Findings Chi2 TableMy team is looking to program publishing quality Table 2 placed into a word document with APA format…
putdocx with multi-level modelsIs there a way to export the both the coefficient table as well as the random-effects parameters tab…
Master thesis - multiple excel sheets and make a dataset to be one variableHi! Im doing my master thesis and im not that good at STATA so I really need some help to begin! I …
deleted observations when adding new variables in GMMI am using the xtabond2 command for panel data of country over time to measure the impact of outward…
Diff in Diff with matchingDear Statalisters, I’m working with panel data that contains observations for 8000 firms for the pe…
Subscribe to:
Post Comments (Atom)
0 Response to Importing variable with special characters, strings and numbers
Post a Comment