% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/collection-catalog.R
\name{search_collection}
\alias{search_collection}
\title{Search Collection Catalog}
\usage{
search_collection(keyword = NULL, collection = NULL)
}
\arguments{
\item{keyword}{Character string to search for (case-insensitive). Searches
in both dataset names and descriptions. If NULL, returns all datasets
(optionally filtered by collection).}

\item{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.
}
\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.
}
\examples{
\dontrun{
# 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()
}

}
\seealso{
\code{\link[=get_collection_catalog]{get_collection_catalog()}}, \link{collection_catalog}
}
