geographic data

Understanding the World

Recent Posts

More Posts

When we visualize precipitation and temperature anomalies, we simply use time series as bar graph indicating negative and positive values in red and blue. However, in order to have a better overview we need both anomalies in a single graph. In this way we could more easly answer the question of whether a particular season or month was dry-warm or wet-cold, and even compare these anomalies in the context of previous years.


The first post of this year 2020, I will dedicate to a question that I was recently asked. The question was how to calculate the shortest distance between different points and how to know which is the closest point. When we work with spatial data in R, currently the easiest thing is to use the sf package in combination with the tidyverse collection of packages. We also use the units package which is very useful for working with units of measurement.



More Publications

(2020). Predictive value of three thermal confort indices in low temperatures on cardiovascular morbidity in the Iberian Peninsula. En Science of The Total Environment, 729:138969.


(2020). Meteorological drought lacunarity around the world and its classification. In Earth Syst. Sci. Data, 12:741–752.

PDF Code 10.5194/essd-12-741-2020

(2020). Wildfire burnt area patterns and trends in Western Mediterranean Europe via the application of a concentration index. In Land Degradation and Development, 31:311-324.




[2019-2022] AVODIS - Understanding and building on the social context of rural Portugal to prevent wildfire disasters. (University of Porto)

[2020-2021] Short-term effect of heat and cold on the use of respiratory medications. An ecological study of time series. (DRO-ANT-2020-01, AEMPS) (Universidad de Santiago de Compostela)

[2018-2020] CLICES- CLImate of the last CEntury in Spanish mainland. (University of Barcelona, University of Zaragoza, CSIC)

[2017-2020] ELECTRONET - Atmospheric Electricity Network: coupling with the Earth System, climate and biological systems. info (Cost Action 15211)

[2016-2019] FIREXTR - Prevent and prepare society for extreme fire events: the challenge of seeing the forest and not just the trees. info (University of Porto)

[2018-2020] Prevalence of consumption of alcohol, cannabis and other drugs in students between 14 and 18 years of age in Lugo. (University of Santiago de Compostela)

[2017-2019] MEDEA3 - Study of socioeconomic and environmental inequalities in the geographical distribution of mortality in large cities (1996-2015). info (Multicenter Research Project)

[2017-2019] Intensive alcohol consumption: characterization of a new trajectory towards alcoholism. (University of Santiago de Compostela)

[2014-2016] Biometeorological approach to study the spatial variability of influenza in the Iberian Peninsula. (University of Cantabria)


  • 2019

Introduction in Geographic Information Systems and Cartography with R [15h] (Summer School, Universitat Politècnica de Catalunya)

Introduction in Geographic Information Systems and Cartography with R, II Edition [15h] (Summer School, University of Santiago de Compostela)

Introduction in Geographic Information Systems with R [30h] (University of Porto)

  • 2018

Introduction in Geographic Information Systems and Cartography with R, I Edition [15h] (Summer School, University of Santiago de Compostela)

  • 2014

Practical applications of R with climatological data [25h] (University of Barcelona)

Climatic applications of Geographic Information Systems [12h] (University of Santiago de Compostela)

  • 2013

Introduction to Statistics with R [20h] (University of Santiago de Compostela)

Introduction in data management, manipulation, visualization and statistics with R [40h] (University of Barcelona)