Get the file indices for `study_view` based on metadataType and return as list with file metadataType as name of the elements.

get_file_indices_named(study_view, meta_types)

Arguments

study_view

The file view for a study, with the columns 'file_data', where each element is a tibble with the data, and metadataType, where each element is the metadataType for the file.

meta_types

List of metadataTypes.

Value

Named list of indices from `study_view` for which the metadataType exists; `NULL` if none exist.