Stores a resources data frame (typically created by collect_resources())
as the $resources component of a QWAmetadata object. Appended to any
previously stored resources, $images used to infer linked labels.
Arguments
- x
A QWAmetadata object.
- path
Path to a directory to scan for files.
- recursive
If
TRUE, recurse into sub-directories (defaultFALSE).- include_unmatched
If
TRUE, resources that could not be matched to a specific type are included as "other" (defaultFALSE).
Value
The QWAmetadata object with the $resources component updated.