Skip to contents

Use this function if metadata is located in the same file as the data and the data is stored in a delimited file (csv, tsv).

Usage

parse_meta_delim(file, sep = NULL, comment = "#", is_list = FALSE, ...)

Arguments

file

String, the file path to metadata.

sep

String, the field separator character. defaults to comment = "#".

comment

String, the comment character used to separate (or "comment-out") the metadata from the data. Only text that has been commented-out will be read.

is_list

Logical, is metadata stored as a list (i.e. Field: value, Field: value) format). If a colon (":") is used after the field name set this to TRUE.

...

Additional arguments passed to read.delim.