How to import csv data where some observations are on two rows

后端 未结 5 1357
别跟我提以往
别跟我提以往 2021-01-16 02:10

I have a dataset with a couple million rows. It is in csv format. I wish to import it into Stata. I can do this, but there is a problem - a small percentage (but still many)

5条回答
  •  耶瑟儿~
    2021-01-16 02:36

    A bit of speculation without seeing the exact data: following Roberto Ferrer's comment, you might find the Stata command filefilter useful in cleaning the csv file before importing. You can substitute new and old string patterns, using basic characters as well as more complex \n and \r terms.

提交回复
热议问题