Performs analysis of categorical-variable with missing values. Implements methods from Schafer, JL, Analysis of Incomplete Multivariate Data, Chapman and Hall.

Unifying an inconsistently coded categorical variable between two different time points in accordance with a mapping table. 
    The main rule is to replicate the observation if it could be assigned to a few categories. 
    Then using frequencies or statistical methods to approximate the probabilities of being assigned to each of them. 
    This procedure was invented and implemented in the paper by 'Nasinski', 'Majchrowska', and 'Broniatowska' (2020) <doi:10.24425/cejeme.2020.134747>.

Package contains functions for analyzing check-all-that-apply (CATA) data from consumer and sensory tests. Cochran's Q test, McNemar's test, and Penalty-Lift analysis are provided; for details, see Meyners, Castura & Carr (2013) <doi:10.1016/j.foodqual.2013.06.010>. Cluster analysis can be performed using b-cluster analysis, then evaluated using various measures; for details, see Castura, Meyners, Varela & Næs (2022) <doi:10.1016/j.foodqual.2022.104564>. Consumers can also be clustered on their product-related hedonic responses; see Castura, Meyners, Pohjanheimo, Varela & Næs (2023) <doi:10.1111/joss.12860>. Permutation tests based on the L1-norm methods are provided; for details, see Chaya, Castura & Greenacre (2025) <doi:10.1016/j.foodqual.2025.105639>.

Analyzing responses to check-all-that-apply survey items often requires 
    data transformations and subjective decisions for combining categories. 'CATAcode'
    contains tools for exploring response patterns, facilitating data transformations, 
    applying a set of decision rules for coding responses, and summarizing response frequencies.

Gain access to the 'Spark Catalog' API making use of the 'sparklyr' API. 'Catalog' <https://spark.apache.org/docs/2.4.3/api/java/org/apache/spark/sql/catalog/Catalog.html> is the interface for managing a metastore (aka metadata catalog) of relational entities (e.g. database(s), tables, functions, table columns and temporary views).