Skip to contents

sframe_is_valid() reports whether the object passed. sframe_problems() returns the problem messages. sframe_object() returns the object that was validated.

Value

sframe_is_valid() returns a single logical. sframe_problems() returns a character vector, empty when the object is valid. sframe_object() returns the validated object.

Examples

item  <- sframe_item("q1", "How satisfied are you?", type = "text")
instr <- sframe_instrument("Demo", components = list(item))
v <- validate_sframe(instr, strict = FALSE)

sframe_is_valid(v)
sframe_problems(v)