Datacommons Observation
datacommons_observationGet the value of one Google Data Commons statistical variable for one place: the latest value (default), the value at a date, or the whole time series. Each value names its original publisher (US Census, World Bank, Eurostat, CDC, ...) and lists how alternate sources differ. Example: variable "Count_Person", place "country/USA".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | LATEST (default), all (full series), or a date: 2019, 2019-06, 2019-06-30 | |
| limit | No | With date=all, max observations returned, most recent kept (default 50, max 500) | |
| place | Yes | Place dcid, e.g. country/USA, geoId/06, Earth (find with datacommons_find_place) | |
| _apiKey | Yes | Data Commons API key (free). Get one at https://apikeys.datacommons.org | |
| variable | Yes | Statistical variable dcid, e.g. Count_Person, Median_Income_Household (find with datacommons_find_variable) |