Read File Metadata from YAML-File
read_file_metadata(yaml_file, file_encoding = "UTF-8", out_class = c("data.frame", "list")[1])
yaml_file | path to YAML-File containing file metadata (as saved with
|
---|---|
file_encoding | passed to argument |
out_class | one of "data.frame", "list" |
depending on out_class
, either a data frame with the following
columns or a list with the following elements is returned:
clean file name given to the original file for simpler access,
original file name given by data provider,
original path to folder in which file was provided.