Posts in Category: r

Pipes in R {magrittr}

Dear all,

back in 2014, Hadley Wickham’s dplyr tutorial at useR!2014 drew a lot of attention to the %>% (pipe) operator from the magrittr package. While the pipe operator is an essential part of the tidyverse workflow, and is thus well-known to users of packages belonging to the umbrella of

Read More

Reading data from eHYD using R

Dear all,

during the process of streamlining my posts on extreme value analysis, I have tried to rework the import of the data sets used for my elaborations. Usually, one would definitely use custom functions to perform tasks like this data import, and I figured that this is also useful in

Read More

Simple features for R

Hey folks,

sf is an rather new R package for handling and analyzing spatial data in R. While various R packages are available that provide classes and methods for spatial data (e.g. sp, rgdal and rgeos), sf, which is developed by Edzer Pebesma and others, is intended to gradually replace

Read More

Raster Info Tool based on Shiny R

Dear GIS enthusiasts!

As you already know, R is my favourite tool to work with spatial (raster) data. In some situations however, I am forced to move to a GIS desktop softwarer (à la QGIS) to get some basic information on my raster file. Since switching inbetween two softwares is annoying

Read More

Nearest Neighbour Search for Spatial Points in R

Dear all,

I just came across a very useful, fast and efficient function for matching points in one data frame to their nearest neighbours in another data frame. Of course, I’d like to share my newly acquired pearls of wisdom with you.

I’d like to outline the problem definition by providing a

Read More

Spatiotemporal tidy arrays for R

Hello,

today I’d like to draw your attention to an upcoming, interesting R package for handling spatial data.

Following the successful release of the sf package, which simplifies and optimizes many aspects of handling spatial (vector) data in R by implementing simple features as native R data (alongside with many R convenience

Read More

Austria SRTM

Download SRTM for an entire country

Happy new year 2017!

It’s January 1st and I made the new years resolution to post more this year. ūüôā So here is a short tutorial on how to download SRTM (Shuttle Radar Topography Mission) 90m resolution data (3 arc seconds) for an entire country using the {raster} and {rgeos}

Read More