
Validate Input Data
validate_input_data.RdValidates the consistency and completeness of all input data for the electoral pipeline.
Details
Performs the following validations:
Verifies presence of required elements in data_list
Validates party codes in transfer matrices
Verifies consistency between provincial patterns and IDV codes
Validates previous election data
Verifies province correspondence between seats and patterns sheets
Validates adjustments and small parties if present
See also
Other data-functions:
draw_mt(),
load_and_validate()