The function tries to guess what type of file is given to the function and calls the appropriate function to read the file. The aim of this function is to provide a common result format independent from the type of file that was read.

read_file_paths(file, metadata = NULL)

Arguments

file

file containing file path information (path only or additional information such as file type, size or creation/modification time, etc.)

metadata

data frame containing metadata about the file. If given, it must look as what guess_file_metadata returns. If NULL the same function is called to guess metadata about the file.

Value

data frame with columns...