List the digital collections
list_collectionsView Library of Congress digital collections to identify searchable corpora, with collection_filter strings for search_items and media type availability.
Instructions
List the digital collections of the Library of Congress: bodies of material a curator chose, described and published together. Use it to see what is there before searching, since a collection names a corpus that a query would have to guess at. 'collection_filter' on each row is the wording search_items takes as its 'collection' argument, and 'searchable_media_types' names the catalogues that filter can be sent to. A collection whose 'searchable_media_types' is empty gathers a kind of thing the catalogue search is not divided into, such as web archives; set 'searchable_only' to leave those out. 'item_count' is how many records the collection gathers, which is the size of the corpus rather than the number of rows here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of collections, from 1. | |
| limit | No | Collections to return. | |
| searchable_only | No | Keep only the collections whose formats name a media_type, which are the ones search_items can be asked for. | |
| max_description_chars | No | Budget for one collection's description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| notes | Yes | ||
| total | Yes | Collections the Library publishes, not the number returned. | |
| collections | Yes |