Publications by R on Dominic Royé

Geographic distance

31.10.2019

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 collecti...

3887 sym R (6007 sym/10 pcs) 2 img 2 tbl

Visualize urban growth

31.10.2019

The General Directorate for the Cadastre of Spain has spatial information of the all buildings except for the Basque Country and Navarra. This data set is part of the implementation of INSPIRE, the Space Information Infrastructure in Europe. More information can be found here. We will use the links (urls) in ATOM format, which is an RSS type for ...

4971 sym R (7313 sym/11 pcs) 4 img 1 tbl

Geographic distance

18.01.2020

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 collecti...

3891 sym R (5907 sym/10 pcs) 2 img 2 tbl

Geographic distance

18.01.2020

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 collecti...

3887 sym R (5907 sym/10 pcs) 2 img 2 tbl

Visualize climate anomalies

28.03.2020

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...

6314 sym R (5728 sym/10 pcs) 6 img 1 tbl

Visualize climate anomalies

28.03.2020

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...

6311 sym R (5728 sym/10 pcs) 6 img 1 tbl

A very short introduction to Tidyverse

05.06.2020

1 Tidyverse 2 Style guide 3 Pipe %>% 4 Tidyverse packages 4.1 Read and write data 4.2 Character manipulations 4.3 Management of dates and times 4.4 Table and vector manipulation 4.4.1 Select and rename 4.4.2 Filter and sort 4.4.3 Group and summarize 4.4.4 Join tables 4.4.5 Long and wide tables 4.5 Visualize data 4.5.1 Line and scatter plot 4.5.2...

13310 sym R (25936 sym/25 pcs) 14 img 4 tbl

A very short introduction to Tidyverse

05.06.2020

1 Tiyverse 2 Style guide 3 Pipe %>% 4 Tidyverse packages 4.1 Read and write data 4.2 Character manipulations 4.3 Management of dates and times 4.4 Table and vector manipulation 4.4.1 Select and rename 4.4.2 Filter and sort 4.4.3 Group and summarize 4.4.4 Join tables 4.4.5 Long and wide tables 4.5 Visualize data 4.5.1 Line and scatter plot 4.5.2 ...

13061 sym R (25903 sym/25 pcs) 14 img 4 tbl

River flow directions

23.07.2020

I recently created a visualization of the distribution of river flow directions and also of coastal orientations. Following its publication in social networks (here), I was asked to make a post about how I did it. Well, here we go to start with an example of rivers, coastal orientation is somewhat more complex. I did the same for a selection of E...

9122 sym R (9459 sym/16 pcs) 2 img 1 tbl

River flow directions

23.07.2020

I recently created a visualization of the distribution of river flow directions and also of coastal orientations. Following its publication in social networks (here), I was asked to make a post about how I did it. Well, here we go to start with an example of rivers, coastal orientation is somewhat more complex. I did the same for a selection of E...

9026 sym R (9459 sym/16 pcs) 2 img 1 tbl