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

后端 未结 5 1358
别跟我提以往
别跟我提以往 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:52

    I can't offer any code at the moment, but I suggest you take a good look at help import. The infile and infix commands state:

    An observation can be on more than one line.

    (I don't know if this means that all observations should be on several lines, or if it can handle cases where only some observations are on more than one line.)

    Check also the manuals if the examples and notes in the help files turn out to be insufficient.

提交回复
热议问题