Hi folks,
I´m using the dataviewet to save the original file as a .dat file.
Apparently it works well, but one of the questionnaires is written at the end of the .dat file.
I´ve written a batch program that does nothing, just to read the file and write the file. Same thing.
Best
Ari
saving csdb as dat generates out of order records
-
AriSilva
- Posts: 625
- Joined: July 22nd, 2016, 3:55 pm
-
Gregory Martin
- Posts: 1946
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: saving csdb as dat generates out of order records
When you say "questionnaires" are you talking about cases or records?
Both of the operations that you mention should write the cases to the text data file in sequential (not indexed) order. For each case, the records should be written out in the order that the records are defined in the dictionary.
Is this not what you are seeing?
Both of the operations that you mention should write the cases to the text data file in sequential (not indexed) order. For each case, the records should be written out in the order that the records are defined in the dictionary.
Is this not what you are seeing?
-
AriSilva
- Posts: 625
- Joined: July 22nd, 2016, 3:55 pm
Re: saving csdb as dat generates out of order records
I´m sorry, the message was not clear.
I mean that a single questionnaire (with several records) is written out of order, at the end of the file.
Best
I mean that a single questionnaire (with several records) is written out of order, at the end of the file.
Best
Best
Ari
Ari
-
Gregory Martin
- Posts: 1946
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: saving csdb as dat generates out of order records
That is odd. I've never heard of a single case being written out of its sequential order, so my guess is that something else is going on. If your data is public, you can share it with cspro@lists.census.gov and we can look into this.