Get Places Contained within Another Place
=DCPLACESIN(dcids, placeType)
Given a list of Place
DCIDs, return the DCIDs of places of a specified type
contained within those places.
Examples
Arguments
dcids
- place DCIDs to get places withinplaceType
- The type of the containedPlace
s within the given DCIDs to filter by. E.g.City
andCounty
are contained withinState
. For a full list of available types, seesubClassOf Place
.
Returns
The dcids of type placeType
contained within the place.
Examples
To get all of the counties in the state of Hawaii:
=DCPLACESIN("geoId/15", "County")
The example below shows how to use the place DCID in an existing cell: