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 within
  • placeType - The type of the contained Places within the given DCIDs to filter by. E.g. City and County are contained within State. For a full list of available types, see subClassOf 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:

Input

Output