Datacommons Child Places
datacommons_child_placesCompare one Google Data Commons statistical variable across every child place of a parent — e.g. population of all US states, median income of every county in Texas (geoId/48, County), GDP of every country in Europe. Returns rows sorted by value with names and the publisher of each value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | LATEST (default) or a date: 2020, 2020-06 | |
| sort | No | Sort by value (default desc) | |
| limit | No | Max rows (default 50, max 300) | |
| _apiKey | Yes | Data Commons API key (free). Get one at https://apikeys.datacommons.org | |
| variable | Yes | Statistical variable dcid, e.g. Count_Person | |
| child_type | Yes | Child place type, e.g. State, County, City, Country | |
| parent_place | Yes | Parent place dcid, e.g. country/USA, geoId/48, europe, Earth |