
The goal ofineAtlas is to provide easy access togranular socioeconomic indicators from the Spanish Statistical Office(INE)Atlas de Distribución de Renta de los Hogares (HouseholdIncome Distribution Atlas). This dataset combines administrative taxdata with population statistics to provide detailed information aboutthe income distribution and related socioeconomic indicators at themunicipal, district, and census tract levels.
The data is organized into several categories and is available atthree geographic levels:
| Dataset | Description |
|---|---|
| Income | Income indicators including net/gross (equivalised) income percapita |
| Income sources | Income indicators by source (wages, pensions, benefits, etc.) |
| Demographics | Population characteristics including age structure and householdcomposition |
| Distribution by sex | Income distribution indicators disaggregated by sex |
| Distribution by sex and age | Income distribution indicators by sex and age categories |
| Distribution by sex, age and nationality | Income distribution indicators by sex and nationality status |
| Inequality indicators | Inequality metrics including Gini coefficient and P80/P20 ratio |
All the data is stored in the accompanyingineAtlas.datarepository. You can find the data dictionary and more information aboutthe data structure athttps://pablogguz.github.io/ineAtlas.data/.
You can install the released version ofineAtlas fromCRAN with:
install.packages("ineAtlas")Alternatively, you can install the development version fromGitHub with:
# install.packages("pak")pak::pak("pablogguz/ineAtlas")Here’s a basic example of fetching census tract-level incomedata:
library(ineAtlas)# Get municipality-level income dataincome_data<-get_atlas("income","tract")# View the first few rowshead(income_data)Contributions are welcome! Please feel free to submit a pull request.For major changes, please open an issue first to discuss what you wouldlike to change.
Spanish Statistical Office (2024).HouseholdIncome Distribution Atlas. Retrieved fromhttps://www.ine.es/en/experimental/atlas/experimental_atlas_en.htm/[Accessed October 29, 2024]
Latest data release: October 29, 2024
Pablo García Guzmán
EBRD