------------------------------------------------------------------------------- help for dirdes -------------------------------------------------------------------------------Display number of observations and number of variables of Stata files in the current directory
dirdes [wildcard] [, n(value) saving(string) replace ]
Description
dirdes displays the list of Stata file names together with the number of observations and the number of variables in the data file in the current directory. If a wildcard is used, it will display the list of only those Stata files specified by the wildcard.
dirdes Options
n is used to specify the number of files to display.
saving creates a Stata data file containing three columns: file name, #obs and #vars.
Examples
. dirdes . dirdes all* . dirdes, disn(10) . dirdes *all*, saving(allfiles) replace
Author
Statistical Consulting Group Institute for Digital Research and Education, UCLA idrestat@ucla.edu