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.
See also
Other referendum data functions:
add_rfrnds()
,
assert_vars()
,
count_rfrnds()
,
delete_rfrnds()
,
download_file_attachment()
,
edit_rfrnds()
,
rfrnd()
,
rfrnd_exists()
,
rfrnds()
,
rfrnds_old()
,
search_rfrnds()