Delete Cases

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
pierrew
Posts: 47
Joined: August 8th, 2012, 5:20 am
Location: Pohnpei, Federated States of Micronesia

Delete Cases

Post by pierrew »

Hafa Adai Greg,
How do I delete a case from a data set. the IDs are different but two adjacent HH's have the same persons recorded in each household. So I have to delete one of the duplicate cases.
Pierre
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Delete Cases

Post by Gregory Martin »

When you run a batch application, you can use the skip case statement to indicate to CSPro that you don't want to write out that particular case. So in your logic you'll do a check to see if adjacent households are duplicates, and then in the case that they are, execute skip case.
pierrew
Posts: 47
Joined: August 8th, 2012, 5:20 am
Location: Pohnpei, Federated States of Micronesia

Re: Delete Cases

Post by pierrew »

Cool thanks !!!
Post Reply