Articles by R on Dominic Royé

Import Excel sheets with R

March 9, 2019 | R on Dominic Royé

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: download. Packages ... [Read more...]

Calculating the distance to the sea in R

January 7, 2019 | R on Dominic Royé

The distance to the sea is a fundamental variable in geography, especially relevant when it comes to modeling. For example, in interpolations of air temperature, the distance to the sea is usually used as a predictor variable, since there is a casual relationship between the two that explains the spatial ...
[Read more...]

How to create ‘Warming Stripes’ in R

December 4, 2018 | R on Dominic Royé

This year, the so-called warming stripes, which were created by the scientist Ed Hawkins of the University of Reading, became very famous all over the world. These graphs represent and communicate climate change in a very illustrative and effective way. Visualising global temperature change since records began in 1850. Versions for ...
[Read more...]

Accessing OpenStreetMap data with R

November 2, 2018 | R on Dominic Royé

The database of Open Street Maps Recently I created a map of the distribution of gas stations and electric charging stations in Europe. Population density through the number of gas stations in Europe. #dataviz @AGE_Oficial @mipazos @simongerman600 @openstreetmap— Dominic Royé (@dr_xeo) February 25, 2018 ...
[Read more...]

Access to climate reanalysis data from R

September 15, 2018 | R on Dominic Royé

1 Introduction 2 NCEP 2.1 Packages 2.2 Data download 2.3 Monthly average 2.4 Visualization 3 ERA-Interim 3.1 Installation 3.2 Connection and download with the ECMWF API 3.3 Processing ncdf 4 Update for accessing ERA-5 A friend advised me to introduce R levels as categories. An idea that I now add to each blog post. There are three levels: elementary, intermediate, and ...
[Read more...]

the pie chart

August 22, 2018 | R on Dominic Royé

Welcome to my blog! I am Dominic Royé, researcher and lecturer of physical geography at the University of Santiago de Compostela. One of my passions is R programming to visualize and analyze any type of data. Hence, my idea of this blog has its origin in my datavis publications I ...
[Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)