Skip to main content
Question

StatisticsCalculator - How does Numeric Count work?

  • June 17, 2016
  • 3 replies
  • 99 views

gmbutler2
Contributor
Forum|alt.badge.img+10

I am trying to use a transformer that will look at a single attribute and return with a value equal to the number of instances that the attribute is being used. I try the numeric count attribute created by a statistics counter, and it appears to be the correct number, but based on the description of the transformer, I am not certain it is going to be the correct method. Can someone explain to me if this is what the statisticscalculator is doing for the numeric count?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

gmbutler2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • June 17, 2016

I misspoke....I meant

I am trying to use a transformer that will look at a single attribute and return with a count value equal to the number of instances that the defined attribute has identical values being used within it.


david_r
Celebrity
  • June 17, 2016

Numeric Count is the number of features where the selected attribute is a valid integer or floating point value. Empty or null values are not counted.


gmbutler2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • June 17, 2016

essentially....if a list has an attribute for birth year and the list items are 1980,1980, 1979,1980,1964,1979,1980....then an attribute would be created for each item stating 1980/4, 1980/4, 1979/2,1980/4,1964/1,1979/2,1980/4 (Birth Year Attribute/numeric_count Attribute)