Datacommons Find Variable
datacommons_find_variableSearch Google Data Commons statistical variables by plain-language indicator, e.g. "median household income" -> Median_Income_Household, "unemployment rate" -> UnemploymentRate_Person. Returns variable ids with names and a match score. Use the id as variable in datacommons_observation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max variables (default 10, max 25) | |
| query | Yes | What you want to measure, e.g. "life expectancy", "CO2 emissions per capita" | |
| _apiKey | Yes | Data Commons API key (free). Get one at https://apikeys.datacommons.org |