Stata Duplicates
The duplicates command reports on and deletes duplicated cases.
Contents
Usage
duplicates drop KEYVARS, force
To drop true duplicated cases (i.e. all values match), try duplicates drop (no variable list).
Stored Results
duplicates report stores the number of unique observations in r(unique_value).
duplicates drop stores the number of rows dropped in r(N_drop)