Skip to contents

Reads an XPT file, converts it to a data frame, renames the first column to "ID", and filters based on unique value counts.

Usage

read_and_filter_xpt(file_path, threshold = 100)

Arguments

file_path

Path to the XPT file.

threshold

Numeric threshold to filter columns based on unique value counts. Default is 100.

Value

A data frame with filtered columns.

Examples

read_and_filter_xpt("data.xpt", threshold = 50)
#> Error in read_xpt(file_path): could not find function "read_xpt"