Testing for uniqueness of an identifier variableA household level data set derived from U.S. Census data
H_SEQ H_FAMINC H_NUMPER HG_REG HRHTYPE HSUP_WGT
1 6 4 3 1 140484
2 10 3 3 4 179294
3 13 5 3 1 193890
4 0 2 1 1 33756
5 1 1 1 7 124633
6 8 2 1 1 100164
7 6 5 3 2 133469
.
.
.
libname in '/afs/isis/depts/cpc/computer/stone/data/class01/';
data unique dups;
set in.hhcps99;
by h_seq;
if first.h_seq=1 then output unique;
else output dups;
run;
Continue with BY groups? Another topic? Questions or comments? If you are affiliated with the Carolina Population Center, send them to Phil Bardsley.
|

