Skip to contents

"tabular" means metacheck has a reader for the format (see .readable_extensions), so the file can be downloaded, parsed for columns, and converted to a Psych-DS CSV. Everything else is "raw": it is recorded and archived with its true extension, but never parsed as a table.

Usage

data_format(ext)

Arguments

ext

a character vector of file extensions (no leading dot); case is ignored.

Value

"tabular" or "raw" for each element (never NA; unknown extensions fall back to "raw", since an unrecognised format has no reader).

Author

Daniel Lakens and Levi Baruch

Examples

data_format(c("csv", "edf", "mp4", "sav"))
#> [1] "tabular" "raw"     "raw"     "tabular"