Validating your data
Use the chap validate command to check that your CSV is Chap-compatible before running an evaluation.
Basic validation
e.g chap validate --dataset-csv example_data/laos_subset.csvThis checks for:
- Required columns (
time_period,location) - Missing values (NaN) in covariate columns
- Location completeness (every location has the same set of time periods)
Validate GeoJSON (if applicable)
If you have a GeoJSON file alongside your CSV, validate it with the --dataset-geo flag:
This additionally checks that all location values in the CSV have a matching feature in the GeoJSON.