> Script Details
Frequency Lite Tool
report inappropriate content
Jul 26 2006
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
If you don't have access to an ArcInfo License, you may find the Frequency Lite Tool useful. It is similar to the Frequency Tool, which is part of the Analysis Toolbox but only available to ArcInfo users. It allows the user to generate a table of the unique code occurrences and their frequency for a specified field within an existing table. No other statistics will be calculated. See the "Lite" in the name.
CREDIT NOTATION: The part of the code which actually does the frequency calculation was taken from Dan Patterson's Field Statistics tool. The Field Statistics tool can be found at: http://arcscripts.esri.com/details.asp?dbid=14173
The installation instructions are included in the readme file.
Any feedback regarding the benefits or pitfalls of this geoprocessing script are greatly appreciated.
****** Bug Fixes (26 July 2006) ******
If exporting to dbf, a field name of more than 10 characters caused the script to crash. Created standard export field names of "F_Class" and "F_Count".
If exporting to Geodatabase Table, there was an error in the field construction of the new table. Now fixed.