Skip to contents

Read files from a folder, specified by a file name pattern, into a list of dictionaries

Usage

readDictionaries(folder, pattern = "^dictionary_(.*)[.]txt$")

Arguments

folder

path to the folder containing the files to be read

pattern

regular expression to match the names of the files to be read. The pattern is expected to contain a pair of parentheses around the part of the file that shall be used as element name in the returned list

See also