clear_checkpoints
clear_checkpoints()Delete saved cross-tab checkpoints.
Removes the checkpoint files that crosstab_banner(checkpoint=True) keeps in the ezrsurvey cache folder (the folder R’s tools::R_user_dir() names). A finished run clears its own checkpoint, so anything left is from a run that was interrupted and never repeated; this empties the folder in one call. A checkpoint you pointed somewhere yourself (checkpoint="my-run.pkl") is your file and is never touched.
Returns
| Name | Type | Description |
|---|---|---|
| int | The number of files removed. |
See Also
crosstab_banner, clear_weights_cache
Examples
>>> clear_checkpoints()