do_validate_survey: Validate survey data file.

View source: R/validate_inputs.R

do_validate_surveyR Documentation

Validate survey data file.

Description

Check that survey data file can be read and return serialised data.

Usage

do_validate_survey(survey, shape, strict = TRUE)

Arguments

survey

A file object (path, hash, filename) corresponding to the input survey file.

shape

A file object (path, hash, filename) corresponding to the input shape file.

strict

If FALSE then run less stringent validation rules, used for data exploration mode.

Value

An error if invalid.


mrc-ide/hintr documentation built on April 21, 2024, 4:17 a.m.