get_parts_collections
- get_parts_collections()[source]
Group resources’ prefixes based on their
part_of
entries.- Returns
A dictionary with keys that appear as the values of
Resource.part_of
and whose values are lists of prefixes for resources that have the key as a value in itspart_of
field.
Warning
Many of the keys in this dictionary are valid Bioregistry prefixes, but this is not necessary. For example,
ctd
is one key that appears that explicitly has no prefix, since it corresponds to a resource and not a vocabulary.