search_collection: Search Collection Catalog

View source: R/collection-catalog.R

search_collectionR Documentation

Search Collection Catalog

Description

Search through all Collection datasets by keywords in name or description, or filter by collection. This makes it easy to discover datasets relevant to your task without browsing each collection individually.

Usage

search_collection(keyword = NULL, collection = NULL)

Arguments

keyword

Character string to search for (case-insensitive). Searches in both dataset names and descriptions. If NULL, returns all datasets (optionally filtered by collection).

collection

Filter by collection name. One of: "biology", "medical", "infrared", "damage", "underwater", "document". If NULL, searches all collections.

Value

A data frame with matching datasets and their metadata. Returns NULL invisibly if no matches are found.

See Also

get_collection_catalog(), collection_catalog

Examples

## Not run: 
# Find all medical datasets
search_collection(collection = "medical")

# Find datasets about cells
search_collection("cell")

# Find photovoltaic/solar datasets
search_collection("solar")
search_collection("photovoltaic")

# Find all biology datasets with "cell" in name/description
search_collection("cell", collection = "biology")

# List all available datasets
search_collection()

## End(Not run)


torchvision documentation built on Oct. 14, 2026, 1:09 a.m.