metainfo_from_filename: Get Metadata from filename

Description Usage Details

Description

Retrieves metadata from filename with the help of a predefined 'pattern'

Usage

1

Details

Takes a filename (character string) and retrieves metadata from the filename by consulting a predefined pattern. The whole process is somewhat similar to specifying a format of a datetime object (see strftime). The pattern is specified by placeholders (in the argument pattern ), which are in turn specified in a dataframe (in the argument search_pattern_dict). Run get_srm4r("search_pattern_dict") to see what these argument currently are.


swissgeodata4r/swissrastermaps4r documentation built on May 31, 2019, 6:44 p.m.