Read File Metadata from YAML-File
read_file_metadata(
yaml_file,
file_encoding = "UTF-8",
out_class = c("data.frame", "list")[1]
)
path to YAML-File containing file metadata (as saved with
kwb.file:::write_file_info_to_yaml_file
)
passed to argument fileEncoding
of
read_yaml
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.