Giter Club home page Giter Club logo

ses-ine's Introduction

Area-Level SES Indicators from INE

Data

NOTE: The folder data/ is not tracked by git due to the file size limit of GitHub.

The original data is available at INE's website:

https://www.ine.es/experimental/atlas/exp_atlas_tab.htm

I downloaded the ZIP files for:

  • Indicadores de renta media y mediana

  • Índice de Gini y Distribución de la renta P80/P20

Each folder has several files with the data in different formats and shapes. I used the CSV called csv_bdsc.csv from each folder and named them, respectively:

I also downloaded the map of Spain by districts (2018) from INE's site:

https://www.ine.es/ss/Satellite?L=es_ES&c=Page&cid=1259952026632&p=1259952026632&pagename=ProductosYServicios%2FPYSLayout

I placed the corresponding SHAPE files in data/maps/ine/.

I use this map to subset the districts in Catalonia and link the SES indicators with the corresponding district polygons.

Output

See ses-ine.R for details on the data cleaning and wrangling.

Processed data

The processed data set is saved in different formats inside the data-processed/ folder:

File Description
data-processed/ses_cat.csv SES indicators by section in Catalonia
data-processed/ses_cat.rds tibble with SES indicators by section in Catalonia
data-processed/ses_cat_sf.rds sf object with SES indicators by section in Catalonia

The SES indicators reported in this data set are:

Variable Description Units
net_income_avg Average net income by person Euros
net_income_avg_household Average net income by household Euros
gini Gini Index
p80_p20 P80/P20 income distribution

Maps

The maps are saved in the figs/ folder.

ses-ine's People

Contributors

solmos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.