
Validate a Betwixt candidate dataset
Source:R/validate_candidate_dataset.R
validate_candidate_dataset.RdChecks whether a data frame conforms to the structural requirements of a Betwixt candidate dataset.
Value
Invisibly returns x if validation succeeds. Otherwise, an error
describes the first validation failure.
Details
Candidate datasets can be created in a spreadsheet application after
initialising a conforming header with create_candidate_template().
Re-imported datasets can be checked with validate_candidate_dataset()
before rendering with render_review().
Examples
x <- create_candidate_template()
validate_candidate_dataset(x)