Hallo there, I am very new with stata and I have a problem with importing a csv file.
The file contains a dataset of appr. 100.000 values in 20 different variables. The values are separated by semicolons to be allocated to different variables. By using the command "import delimited csv.txt, delimiter(";")" all but 15 values are imported correctly. For these 15 values the semicolon is not used to separate the information into different variables, but all the information, including the semicolon is imported into one variable.
For example a;b;c does not become l a l b l c l, but l a;b;c l l l.
It would be great if somebody had an idea how to correct this. Thank you very much.
The file contains a dataset of appr. 100.000 values in 20 different variables. The values are separated by semicolons to be allocated to different variables. By using the command "import delimited csv.txt, delimiter(";")" all but 15 values are imported correctly. For these 15 values the semicolon is not used to separate the information into different variables, but all the information, including the semicolon is imported into one variable.
For example a;b;c does not become l a l b l c l, but l a;b;c l l l.
It would be great if somebody had an idea how to correct this. Thank you very much.
Comment