Multiple Selection of Cases

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
boikgwadi
Posts: 26
Joined: June 27th, 2014, 2:47 am

Multiple Selection of Cases

Post by boikgwadi »

How can I do a multiple selection of cases I want to delete? I have to split a data set containing +28 K into three of four manageable parts for data entry to occur.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Multiple Selection of Cases

Post by josh »

You can write a batch edit program that uses "skip case" to selectively write out cases to the output file. For example if you want to write out only cases for province 1 you would do:

PROC PROVINCE
if PROVINCE <> 1 then
skip case;
endif;

When you run this on an input data file that has cases in provinces 1, 2 and 3 then your output file will only contain cases with province 1. You can then modify the application to only output cases in province 2 and then again to only output cases in province 3.
Post Reply