A character string or R connection specifying a file.
metadata
Optionally, a character string specifying a YAML (“.yaml”) or JSON (“.json”) file containing metadata (in lieu of including it in the header of the file).
stringsAsFactors
A logical specifying whether to treat character columns as factors. Passed to read.csv or fread depending on the value of method. Ignored for method = 'readr' which never returns factors.
detect_metadata
A logical specifying whether to auto-detect a metadata file if none is specified (and if no header is found).