Fixed typo in get_categorical_vars() function. Breaking change.
Major refactor of internals. The script files are more readable for future development.
Added CLAUDE.md with internal logic and structure.
More tests.
percent = FALSE.Fixed grouping variables frequencies when the main variable contains missing values.
Empty factor levels now appear in the table.
Added percent argument to compose_spreadsheet(), to switch between percentage and numeric formatting
Added total N column to compose_table().
If grouping variables are present, absolute counts for each category are reported in the last row.
Both variable name and label is now reported.