I get a lot of shapefiles with no metadata. Often there are tons of table columns (fields) with no description of what the column is for or what the coded values mean.
Is there an easy way to export a table so that the domain of unique values are listed per column?
In other words, if a table has two columns, say, Color and Shape, is there a way to export a table that lists all the unique values in Color and all the unique values in Shape?
I know a quick way is to open "Select by Attribute" in ArcMap, select a field and click "Get Unique Values" to see the list of unique attributes within the field. It would be great if there was an easy way to export a table of these unique values by column (field).
To keep it simple, I'm just interested in text or string fields.
Statistics_analysis
), and Frequency (Frequency_analysis
) for those with Advanced licenses, but you can also do this with five lines of DA Search Cursor code using aset
to compile a list of unique values or a dictionary to count occurrences.