Population and households
demographicsRetrieve population, age, sex, household, and trend data for any Spanish place, from municipalities to census tracts, cross-checked with INE data.
Instructions
Population, sex, five-year age bands, 5-year trend, and household profile for a place in Spain.
Municipality, province and CCAA: census population by age band (latest 1 January),
cross-checked against the official Padrón figure. Municipality, district and tract:
household size, single-person households, mean age, share under 18 and 65+ from INE's
income atlas. Use sub_areas to compare a city's districts or tracts, e.g. to find
where young families or older residents concentrate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | Place name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns. | |
| sub_areas | No | For a municipality, also list its 'district's or census 'tract's. Default 'none'. | none |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| checks | No | ||
| sources | Yes | ||
| confidence | Yes | Lowest confidence across inputs: high, medium or low. Never state a conclusion more strongly than this. |