validate_rfrnds: Validate referendum data

validate_rfrndsR Documentation

Validate referendum data

Description

Performs various data validation steps to ensure there are no errors in the supplied data.

Usage

validate_rfrnds(
  data,
  check_applicability_constraint = TRUE,
  check_id_sudd_prefix = TRUE
)

Arguments

data

Referendum data to validate, as returned by rfrnds().

check_applicability_constraint

Whether or not to check that no applicability constraints as defined in the codebook are violated.

check_id_sudd_prefix

Whether or not to check that all id_sudd prefixes are valid.

Value

data, invisibly.

See Also

Other referendum data functions: add_rfrnds(), assert_vars(), count_rfrnds(), delete_rfrnds(), download_file_attachment(), edit_rfrnds(), rfrnd(), rfrnd_exists(), rfrnds(), rfrnds_bkp()


zdaarau/c2d documentation built on Dec. 18, 2024, 1:24 p.m.