Employment
Publicly available employment data enables analysis of labour market trends to support active policy development and can serve as the foundation for innovative tools guiding citizens towards new employment opportunities.
Discover the most notable datasets
Featured current topics
Current news
Summer Courses 2026 to Learn Data Science and Artificial Intelligence
There are many people who take advantage of the summer season to update their knowledge in a subject or enter new disciplines. Data science and artificial intelligence are generating increasing interest. The data economy sector generates 26,538 jobs in Spain, according to the report on the data economy in the infomediary field carried out by ASEDIE.
The growing demand for skills related to data and artificial intelligence is also reflected in the training offer of universities. The courses are aimed at both students and professionals interested in expanding knowledge, learning about new tools or exploring technologies that are driving digital transformation in areas such as health or public management.
Here are some examples. These are courses that combine theory and practice and allow you to discover the potential of data and artificial intelligence.
1. Public policies and digital transformation of cities and territories: a systemic vision based on data
Pablo de Olavide University
This course addresses the role of data in the transformation of cities and territories, as well as its contribution to the design of more efficient and sustainable public policies. Participants will discuss how data collection and analysis can support decision-making and support better planning of public services. The training is aimed at professionals from public administrations, policy makers, technicians and managers linked to territorial development, as well as researchers and people interested in governance and digital transformation strategies.
Date and place: June 25 and 26, 2026 in Carmona.
2. Data Analysis and Visualization: Practical Statistics with R and Artificial Intelligence
National University of Distance Education (UNED)
This seminar offers practical training in data analysis and visualization, two disciplines that play an increasingly important role in areas such as health, education, economics or computer science. The program addresses concepts of statistical inference and teaches how to work with the R language and the RStudio environment. In addition, participants will be able to explore the possibilities offered by artificial intelligence tools based on large language models, such as ChatGPT and GitHub Copilot, to facilitate tasks related to analysis and programming.
Date and place: from 8 to 10 July 2026 in online and face-to-face mode (in Plasencia).
3. Advanced Programming
Autonomous University of Barcelona
This program is aimed at students from different scientific and technological disciplines who already have basic knowledge of programming and wish to deepen their knowledge of this subject. With an eminently practical approach, the training will strengthen skills in structured programming and object-oriented programming using languages such as C, Java and Python. Throughout the course, participants will develop different projects, with the aim of putting into practice concepts such as dynamic memory management, data structures or the creation of object-based applications.
Date and place: from 13 to 30 July 2026. Location to be defined.
4. Introduction to Data Science and AI
University of Zaragoza
The University of Zaragoza celebrates the fourth edition of this course as a structured introduction to data science, which addresses its fundamental concepts, from the collection, cleaning and management of information, to its analysis, visualization and the application of machine learning and artificial intelligence algorithms. The program also has a practical approach that allows participants to develop an AI project under the supervision of professionals. The course is aimed at university students of science and engineering, vocational training students linked to programming and professionals in the data and computer science sector.
Date and place: from 15 to 17 July 2026 in Jaca.
5. Data Visualization Tools: Power BI, ShinyApps and Tableau
Summer University of Teruel (University of Zaragoza)
Data visualization is a fundamental tool to transform information into useful knowledge and facilitate decision-making. This seminar provides an introduction to the principles of visual analytics and provides hands-on training on some of the most widely used platforms in this field, such as Power BI, Tableau, and ShinyApps. Participants will learn how to create interactive dashboards and develop applications for reproducible analysis, among other things. The training also addresses aspects related to the responsible use of data and is aimed at both professionals and researchers interested in improving their skills in visualization and analysis.
Date and place: from 20 to 23 July 2026 in Teruel.
6. Data visualization and analysis with R
University of Santiago de Compostela
The University of Santiago de Compostela organizes this course an introduction to the use of the R language for the treatment and statistical analysis of data. Throughout the different sessions, participants will acquire the necessary skills to perform descriptive and inferential analyses (estimation, contrasts and predictions). The training is aimed at students and professionals from different fields interested in incorporating statistical methods into data processing and provides resources that allow them to continue to delve autonomously into the possibilities of R.
Date and place: from 20 to 24 July 2026 in Santiago de Compostela.
7. Challenge in Data Science and Artificial Intelligence applied to social welfare by UNA-Europe
Complutense University of Madrid
The Complutense University of Madrid participates in this initiative promoted by the UNA-Europe university alliance, whose objective is to apply data and artificial intelligence techniques to address challenges related to social welfare. The training is mainly aimed at PhD students and early-career researchers from different disciplines interested in exploring the potential of AI from an ethical and responsible perspective. Over three days, participants will work on real cases and participate in collaborative activities inspired by formats such as hackathons, paying special attention to issues such as ethics, algorithmic biases and human rights.
Date and place: from 22 to 24 July 2026 in San Lorenzo de El Escorial.
8. Remote sensing from satellite. Digital Image Processing and Copernicus Applications
Summer University of Teruel (University of Zaragoza).
The data obtained by Earth observation satellites have increasingly relevant applications in areas such as climate change monitoring or land management. This course delves into the fundamentals of remote sensing and digital image processing techniques, using information from missions such as Landsat and the Sentinel satellites of the European Copernicus programme. The training combines theoretical content with practical exercises and allows you to explore applications related to desertification or the monitoring of land and sea surfaces, among others. In addition, participants will become familiar with some of the tools used for the processing and analysis of geospatial data.
Date and place: from 27 to 30 July 2026 in Teruel.
9. Fundamentals of Artificial Intelligence: generative models and advanced applications in Health, computer vision and language
International University of Andalusia
Artificial intelligence is generating a growing demand for professionals capable of understanding and applying these technologies. This intensive course offers a hands-on introduction to some of the main areas of AI today, with a focus on generative models, neural networks, natural language processing, and deep learning. Advanced applications in fields such as health and artificial vision, as well as emerging technologies related to intelligent agents, will be addressed. The training is aimed at both students and research staff, as well as professionals interested in acquiring skills in this field.
Date and place: from 18 to 21 August 2026 in Baeza.
10. Data in the scientific space: a journey to the creation of knowledge.
Menéndez Pelayo International University
This meeting, organised in collaboration with the CSIC, will offer an integrated vision of the life cycle of data in the scientific field, from its generation and processing to its usability and reuse in research environments. The programme addresses technical, regulatory and ethical issues linked to data governance, interoperability and its alignment with European frameworks such as the European Health Data Space or the Data Act, and includes reflections on information quality and security. The course is mainly aimed at researchers, technicians and postgraduate students interested in the analysis and use of scientific data.
Date and place: from 24 to 26 August in Santander.
Other resources
Characterization of the employment demand and registered contracting in Spain
1. Introduction
Data visualization is a task linked to data analysis that aims to represent graphically the underlying information. Visualizations play a fundamental role in data communication, since they allow to draw conclusions in a visual and understandable way, also allowing detection of patterns, trends, anomalous data or projection of predictions, among many other functions. This makes its application transversal to any process that involves data. The visualization possibilities are very broad, from basic representations such as line, bar or sector graph, to complex visualizations configured on interactive dashboards.
Before starting to build an effective visualization, a prior data treatment must be performed, paying attention to their collection and validation of their content, ensuring that they are free of errors and in an adequate and consistent format for processing. The previous data treatment is essential to carry out any task related to data analysis and realization of effective visualizations.
We will periodically present a series of practical exercises on open data visualizations that are available on the portal datos.gob.es and in other similar catalogues. In there, we approach and describe in a simple way the necessary steps to obtain data, perform transformations and analysis that are relevant to creation of interactive visualizations from which we may extract all the possible information summarised in final conclusions. In each of these practical exercises we will use simple code developments which will be conveniently documented, relying on free tools. Created material will be available to reuse in Data Lab on Github.
Captura del vídeo que muestra la interacción con el dashboard de la caracterización de la demanda de empleo y la contratación registrada en España disponible al final de este artículo
2. Objetives
The main objective of this post is to create an interactive visualization using open data. For this purpose, we have used datasets containing relevant information on evolution of employment demand in Spain over the last years. Based on these data, we have determined a profile that represents employment demand in our country, specifically investigating how does gender gap affects a group and impact of variables such as age, unemployment benefits or region.
3. Resources
3.1. Datasets
For this analysis we have selected datasets published by the Public State Employment Service (SEPE), coordinated by the Ministry of Labour and Social Economy, which collects time series data with distinct breakdowns that facilitate the analysis of the qualities of job seekers. These data are available on datos.gob.es, with the following characteristics:
Demandantes de empleo por municipio: contains the number of job seekers broken down by municipality, age and gender, between the years 2006-2020.
Gasto de prestaciones por desempleo por Provincia: time series between the years 2010-2020 related to unemployment benefits expenditure, broken down by province and type of benefit.
Contratos registrados por el Servicio Público de Empleo Estatal (SEPE) por municipio: these datasets contain the number of registered contracts to both, job seekers and non-job seekers, broken down by municipality, gender and contract type, between the years 2006-2020.
3.2. Tools.
R (versión 4.0.3) and RStudio with RMarkdown add-on have been used to carry out this analysis (working environment, programming and drafting).
RStudio is an integrated open source development environment for R programming language, dedicated to statistical analysis and graphs creation.
RMarkdown allows creation of reports integrating text, code and dynamic results into a single document.
To create interactive graphs, we have used Kibana tool.
Kibana is an open code application that forms a part of Elastic Stack (Elasticsearch, Beats, Logstasg y Kibana) qwhich provides visualization and exploration capacities of the data indexed on the analytics engine Elasticsearch. The main advantages of this tool are:
Presents visual information through interactive and customisable dashboards using time intervals, filters faceted by range, geospatial coverage, among others
Contains development tools catalogue (Dev Tools) to interact with data stored in Elasticsearch.
It has a free version ready to use on your own computer and enterprise version that is developed in the Elastic cloud and other cloud infrastructures, such as Amazon Web Service (AWS).
On Elastic website you may find user manuals for the download and installation of the tool, but also how to create graphs, dashboards, etc. Furthermore, it offers short videos on the youtube channel and organizes webinars dedicated to explanation of diverse aspects related to Elastic Stack.
If you want to learn more about these and other tools which may help you with data processing, see the report “Data processing and visualization tools” that has been recently updated.
4. Data processing
To create a visualization, it´s necessary to prepare the data properly by performing a series of tasks that include pre-processing and exploratory data analysis (EDA), to understand better the data that we are dealing with. The objective is to identify data characteristics and detect possible anomalies or errors that could affect the quality of results. Data pre-processing is essential to ensure the consistency and effectiveness of analysis or visualizations that are created afterwards.
In order to support learning of readers who are not specialised in programming, the R code included below, which can be accessed by clicking on “Code” button, is not designed to be efficient but rather to be easy to understand. Therefore, it´s probable that the readers more advanced in this programming language may consider to code some of the functionalities in an alternative way. A reader will be able to reproduce this analysis if desired, as the source code is available on the datos.gob.es Github account. The way to provide the code is through a RMarkdown document. Once it´s loaded to the development environment, it may be easily run or modified.
4.1. Installation and import of libraries
R base package, which is always available when RStudio console is open, includes a wide set of functionalities to import data from external sources, carry out statistical analysis and obtain graphic representations. However, there are many tasks for which it´s required to resort to additional packages, incorporating functions and objects defined in them into the working environment. Some of them are already available in the system, but others should be downloaded and installed.
Code
#Instalación de paquetes \r\n #El paquete dplyr presenta una colección de funciones para realizar de manera sencilla operaciones de manipulación de datos \r\n if (!requireNamespace(\"dplyr\", quietly = TRUE)) {install.packages(\"dplyr\")}\r\n #El paquete lubridate para el manejo de variables tipo fecha \r\n if (!requireNamespace(\"lubridate\", quietly = TRUE)) {install.packages(\"lubridate\")}\r\n#Carga de paquetes en el entorno de desarrollo \r\nlibrary (dplyr)\r\nlibrary (lubridate)\r\n
4.2. Data import and cleansing
a. Import of datasets
Data which will be used for visualization are divided by annualities in the .CSV and .XLS files. All the files of interest should be imported to the development environment. To make this post easier to understand, the following code shows the upload of a single .CSV file into a data table.
To speed up the loading process in the development environment, it´s necessary to download the datasets required for this visualization to the working directory. The datasets are available on the datos.gob.es Github account.
Code
#Carga del datasets de demandantes de empleo por municipio de 2020. \r\n Demandantes_empleo_2020 <- \r\n read.csv(\"Conjuntos de datos/Demandantes de empleo por Municipio/Dtes_empleo_por_municipios_2020_csv.csv\",\r\n sep=\";\", skip = 1, header = T)\r\n
Once all the datasets are uploaded as data tables in the development environment, they need to be merged in order to obtain a single dataset that includes all the years of the time series, for each of the characteristics related to job seekers that will be analysed: number of job seekers, unemployment expenditure and new contracts registered by SEPE.
Code
#Dataset de demandantes de empleo\r\nDatos_desempleo <- rbind(Demandantes_empleo_2006, Demandantes_empleo_2007, Demandantes_empleo_2008, Demandantes_empleo_2009, \r\n Demandantes_empleo_2010, Demandantes_empleo_2011,Demandantes_empleo_2012, Demandantes_empleo_2013,\r\n Demandantes_empleo_2014, Demandantes_empleo_2015, Demandantes_empleo_2016, Demandantes_empleo_2017, \r\n Demandantes_empleo_2018, Demandantes_empleo_2019, Demandantes_empleo_2020) \r\n#Dataset de gasto en prestaciones por desempleo\r\ngasto_desempleo <- rbind(gasto_2010, gasto_2011, gasto_2012, gasto_2013, gasto_2014, gasto_2015, gasto_2016, gasto_2017, gasto_2018, gasto_2019, gasto_2020)\r\n#Dataset de nuevos contratos a demandantes de empleo\r\nContratos <- rbind(Contratos_2006, Contratos_2007, Contratos_2008, Contratos_2009,Contratos_2010, Contratos_2011, Contratos_2012, Contratos_2013, \r\n Contratos_2014, Contratos_2015, Contratos_2016, Contratos_2017, Contratos_2018, Contratos_2019, Contratos_2020)
b. Selection of variables
Once the tables with three time series are obtained (number of job seekers, unemployment expenditure and new registered contracts), the variables of interest will be extracted and included in a new table.
First, the tables with job seekers (“unemployment_data”) and new registered contracts (“contracts”) should be added by province, to facilitate the visualization. They should match the breakdown by province of the unemployment benefits expenditure table (“unemployment_expentidure”). In this step, only the variables of interest will be selected from the three datasets.
Code
#Realizamos un group by al dataset de \"datos_desempleo\", agruparemos las variables numéricas que nos interesen, en función de varias variables categóricas\r\nDtes_empleo_provincia <- Datos_desempleo %>% \r\n group_by(Código.mes, Comunidad.Autónoma, Provincia) %>%\r\n summarise(total.Dtes.Empleo = (sum(total.Dtes.Empleo)), Dtes.hombre.25 = (sum(Dtes.Empleo.hombre.edad...25)), \r\n Dtes.hombre.25.45 = (sum(Dtes.Empleo.hombre.edad.25..45)), Dtes.hombre.45 = (sum(Dtes.Empleo.hombre.edad...45)),\r\n Dtes.mujer.25 = (sum(Dtes.Empleo.mujer.edad...25)), Dtes.mujer.25.45 = (sum(Dtes.Empleo.mujer.edad.25..45)),\r\n Dtes.mujer.45 = (sum(Dtes.Empleo.mujer.edad...45)))\r\n#Realizamos un group by al dataset de \"contratos\", agruparemos las variables numericas que nos interesen en función de las varibles categóricas.\r\nContratos_provincia <- Contratos %>% \r\n group_by(Código.mes, Comunidad.Autónoma, Provincia) %>%\r\n summarise(Total.Contratos = (sum(Total.Contratos)),\r\n Contratos.iniciales.indefinidos.hombres = (sum(Contratos.iniciales.indefinidos.hombres)), \r\n Contratos.iniciales.temporales.hombres = (sum(Contratos.iniciales.temporales.hombres)), \r\n Contratos.iniciales.indefinidos.mujeres = (sum(Contratos.iniciales.indefinidos.mujeres)), \r\n Contratos.iniciales.temporales.mujeres = (sum(Contratos.iniciales.temporales.mujeres)))\r\n#Seleccionamos las variables que nos interesen del dataset de \"gasto_desempleo\"\r\ngasto_desempleo_nuevo <- gasto_desempleo %>% select(Código.mes, Comunidad.Autónoma, Provincia, Gasto.Total.Prestación, Gasto.Prestación.Contributiva)
Secondly, the three tables should be merged into one that we will work with from this point onwards..
Code
Caract_Dtes_empleo <- Reduce(merge, list(Dtes_empleo_provincia, gasto_desempleo_nuevo, Contratos_provincia))
c. Transformation of variables
When the table with variables of interest is created for further analysis and visualization, some of them should be transformed to other types, more adequate for future aggregations.
Code
#Transformación de una variable fecha\r\nCaract_Dtes_empleo$Código.mes <- as.factor(Caract_Dtes_empleo$Código.mes)\r\nCaract_Dtes_empleo$Código.mes <- parse_date_time(Caract_Dtes_empleo$Código.mes(c(\"200601\", \"ym\")), truncated = 3)\r\n#Transformamos a variable numérica\r\nCaract_Dtes_empleo$Gasto.Total.Prestación <- as.numeric(Caract_Dtes_empleo$Gasto.Total.Prestación)\r\nCaract_Dtes_empleo$Gasto.Prestación.Contributiva <- as.numeric(Caract_Dtes_empleo$Gasto.Prestación.Contributiva)\r\n#Transformación a variable factor\r\nCaract_Dtes_empleo$Provincia <- as.factor(Caract_Dtes_empleo$Provincia)\r\nCaract_Dtes_empleo$Comunidad.Autónoma <- as.factor(Caract_Dtes_empleo$Comunidad.Autónoma)
d. Exploratory analysis
Let´s see what variables and structure the new dataset presents.
Code
str(Caract_Dtes_empleo)\r\nsummary(Caract_Dtes_empleo)
The output of this portion of the code is omitted to facilitate reading. Main characteristics presented in the dataset are as follows:
Time range covers a period from January to December 2020.
Number of columns (variables) is 17. .
It presents two categorical variables (“Province”, “Autonomous.Community”), one date variable (“Code.month”) and the rest are numerical variables.
e. Detection and processing of missing data
Next, we will analyse whether the dataset has missing values (NAs). A treatment or elimination of NAs is essential, otherwise it will not be possible to process properly the numerical variables.
Code
any(is.na(Caract_Dtes_empleo)) \r\n#Como el resultado es \"TRUE\", eliminamos los datos perdidos del dataset, ya que no sabemos cual es la razón por la cual no se encuentran esos datos\r\nCaract_Dtes_empleo <- na.omit(Caract_Dtes_empleo)\r\nany(is.na(Caract_Dtes_empleo))
4.3. Creation of new variables
In order to create a visualization, we are going to make a new variable from the two variables present in the data table. This operation is very common in the data analysis, as sometimes it´s interesting to work with calculated data (e.g., the sum or the average of different variables) instead of source data. In this case, we will calculate the average unemployment expenditure for each job seeker. For this purpose, variables of total expenditure per benefit (“Expenditure.Total.Benefit”) and the total number of job seekers (“total.JobSeekers.Employment”) will be used.
Code
Caract_Dtes_empleo$gasto_desempleado <-\r\n (1000 * (Caract_Dtes_empleo$Gasto.Total.Prestación/\r\n Caract_Dtes_empleo$total.Dtes.Empleo))
4.4. Save the dataset
Once the table containing variables of interest for analysis and visualizations is obtained, we will save it as a data file in CSV format to perform later other statistical analysis or use it within other processing or data visualization tools. It´s important to use the UTF-8 encoding (Unicode Transformation Format), so the special characters may be identified correctly by any other tool.
Code
write.csv(Caract_Dtes_empleo,\r\n file=\"Caract_Dtes_empleo_UTF8.csv\",\r\n fileEncoding= \"UTF-8\")
5. Creation of a visualization on the characteristics of employment demand in Spain using Kibana
The development of this interactive visualization has been performed with usage of Kibana in the local environment. We have followed Elastic company tutorial for both, download and installation of the software.
Below you may find a tutorial video related to the whole process of creating a visualization. In the video you may see the creation of dashboard with different interactive indicators by generating graphic representations of different types. The steps to build a dashboard are as follows:
A continuación se adjunta un vídeo tutorial donde se muestra todo el proceso de realización de la visualización. En el vídeo podrás ver la creación de un cuadro de mando (dashboard) con diferentes indicadores interactivos mediante la generación de representaciones gráficas de diferentes tipos. Los pasos para obtener el dashboard son los siguientes:
Load the data into Elasticsearch and generate an index that allows to interact with the data from Kibana. This index permits a search and management of the data in the loaded files, practically in real time.
Generate the following graphic representations:
Line graph to represent a time series on the job seekers in Spain between 2006 and 2020.
Sector graph with job seekers broken down by province and Autonomous Community
Thematic map showing the number of new contracts registered in each province on the territory. For creation of this visual it´s necessary to download a dataset with province georeferencing published in the open data portal Open Data Soft.
Build a dashboard.
Below you may find a tutorial video interacting with the visualization that we have just created:
6. Conclusions
Looking at the visualization of the data related to the profile of job seekers in Spain during the years 2010-2020, the following conclusions may be drawn, among others:
There are two significant increases of the job seekers number. The first, approximately in 2010, coincides with the economic crisis. The second, much more pronounced in 2020, coincides with the pandemic crisis.
A gender gap may be observed in the group of job seekers: the number of female job seekers is higher throughout the time series, mainly in the age groups above 25.
At the regional level, Andalusia, followed by Catalonia and Valencia, are the Autonomous Communities with the highest number of job seekers. In contrast to Andalusia, which is an Autonomous Community with the lowest unemployment expenditure, Catalonia presents the highest value.
Temporal contracts are leading and the provinces which generate the highest number of contracts are Madrid and Barcelona, what coincides with the highest number of habitants, while on the other side, provinces with the lowest number of contracts are Soria, Ávila, Teruel and Cuenca, what coincides with the most depopulated areas of Spain.
This visualization has helped us to synthetise a large amount of information and give it a meaning, allowing to draw conclusions and, if necessary, make decisions based on results. We hope that you like this new post, we will be back to present you new reuses of open data. See you soon!
.hljs-literal {\r\ncolor: #990073;\r\n}\r\n.hljs-number {\r\ncolor: #099;\r\n}\r\n.hljs-comment {\r\ncolor: #998;\r\nfont-style: italic;\r\n}\r\n.hljs-keyword {\r\ncolor: #900;\r\nfont-weight: bold;\r\n}\r\n.hljs-string {\r\ncolor: #d14;\r\n}\r\n.cita\r\n{\r\nfont-style: oblique;\r\nfont-size: 20px;\r\n}\r\n\r\n $(function(){\r\n $('button[data-toggle=\"collapse\"]').click(function () {\r\n var target = $(this).data('target');\r\n $(target).toggle();\r\n });\r\n });\r\n\r\nfunction hideshowCode (id) {\r\nswitch(id) {\r\n case \"btn1\":\r\n var x = document.getElementById(\"hideshow1\");\r\n break;\r\n case \"btn2\":\r\n var x = document.getElementById(\"hideshow2\");\r\n break;\r\n case \"btn3\":\r\n var x = document.getElementById(\"hideshow3\");\r\n break;\r\n case \"btn4\":\r\n var x = document.getElementById(\"hideshow4\");\r\n break;\r\n case \"btn5\":\r\n var x = document.getElementById(\"hideshow5\");\r\n break;\r\n case \"btn6\":\r\n var x = document.getElementById(\"hideshow6\");\r\n break;\r\n case \"btn7\":\r\n var x = document.getElementById(\"hideshow7\");\r\n break;\r\n case \"btn8\":\r\n var x = document.getElementById(\"hideshow8\");\r\n break;\r\n case \"btn9\":\r\n var x = document.getElementById(\"hideshow9\");\r\n break;\r\n case \"btn10\":\r\n var x = document.getElementById(\"hideshow10\");\r\n break;\r\n case \"btn11\":\r\n var x = document.getElementById(\"hideshow11\");\r\n break;\r\n case \"btn12\":\r\n var x = document.getElementById(\"hideshow12\");\r\n break; \r\n }\r\n if (x.style.display === \"none\") {\r\n x.style.display = \"block\";\r\n } else {\r\n x.style.display = \"none\";\r\n }\r\n}\r\n.dge-detail__img{display:none;}\r\n