stats.frequency
Build a frequency table for a categorical column, optionally cross-tabulated by a second column.
- Kind:
standard - Network: no
| Name | Type | Description |
|---|
data | file (CSV) | Input table containing the column(s) to tabulate. |
column | string | Name of the categorical column to count. |
by | string | Optional second column to cross-tabulate against (produces a contingency table). If empty, a one-way frequency table is produced. |
Outputs🔗
| Name | Type | Description |
|---|
result | json | Frequency counts. One-way tables include counts and proportions; cross-tabs are nested by the first column then the second. |
Example🔗
- id: 01890000-0000-0000-0000-000000000401
name: stats.frequency
inputs:
- 01890000-0000-0000-0000-000000000000
args:
column: "ownership"
by: "forest_type"