Skip to main content
def Dataset.collections(
    availability: bool | None = None,
    count: bool | None = None,
) -> dict[str, Collection]
List the available collections in a dataset. Collection availability and datapoint counts are always returned. The availability and count arguments are deprecated and no longer affect the response.

Parameters

availability
bool | None
Deprecated. Collection availability is always returned.
count
bool | None
Deprecated. Collection datapoint counts are always returned.

Returns

A dictionary mapping collection names to collection objects.
collections = dataset.collections()