Skip to contents

Categorizes a file by its extension into a broad format family that determines reader dispatch and UI adaptation.

Usage

file_category(path)

Arguments

path

Character. File path.

Value

One of "csv", "excel", "arrow", "other".