Learn R Programming

xportr (version 0.4.3)

xpt_validate: Validate Dataset Can be Written to xpt

Description

Function used to validate dataframes before they are sent to haven::write_xpt for writing.

Usage

xpt_validate(data)

Value

Returns a character vector of failed conditions

Arguments

data

Dataset to be exported as xpt file