R/fct_read.R
detect_format.Rd
Looks at the file extension first and then at the first lines of the file.
detect_format(path, name = basename(path))
Path to the file.
Original file name, if path is a temporary upload.
path
One of "csv", "tsv", "excel", "vcf", "hapmap" or "fasta".
"csv"
"tsv"
"excel"
"vcf"
"hapmap"
"fasta"