geographic data

Understanding the World

Recent Posts

More Posts

When we try to estimate the correlation coefficient between multiple variables, the task is more complicated in order to obtain a simple and tidy result. A simple solution is to use the tidy() function from the {broom} package. As an example, in this post we are going to estimate the correlation coefficients between the annual precipitation of several Spanish cities and climate teleconnections indices.


We usually work with different data sources, and sometimes we can find tables distributed over several Excel sheets. In this post we are going to import the average daily temperature of Madrid and Berlin which is found in two Excel files with sheets for each year between 2000 and 2005.



More Publications

(2019). synoptReg: An R package for computing a synoptic climate classification and a spatial regionalization of environmental data. In Environmental Modelling and Software.

Code 10.1016/j.envsoft.2019.04.006

(2019). A time series analysis of the relationship between Apparent Temperature, Air Pollutants and Ischemic Stroke in Madrid, Spain. In Environmental Research, 173:349-358.


(2018). Alcohol outlet density and alcohol consumption in Galician youth. In Gaceta Sanitaria.

PDF 10.1016/j.gaceta.2018.09.005