Publications by Roel M. Hogervorst

Adding bananas from the commandline (extending the oomsifier)

28.12.2017

Sometimes you just want to add bananas from the commandline. Previously I created a small script that takes an image and adds a dancing banana to the bottom left of the image. I wanted to make an API too, but that will have to wait till next year. Today we will create a commandline script that will do the same thing. With the excellent explanatio...

2606 sym R (1714 sym/3 pcs) 2 img

add abbreviations to your rmarkdown doc

23.01.2018

Today a small tip for when you write rmarkdown documents. Add a chunk on top with abbreviations. in the first chunks you set the options and load the packages. Next create abbreviations, you don’t have to care about the ordering, just put them down as you realize you are creating them. The first step makes a dataframe (a tibble, rowwise), and t...

1504 sym R (439 sym/2 pcs)

add abbreviations to your rmarkdown doc

23.01.2018

Today a small tip for when you write rmarkdown documents. Add a chunk on top with abbreviations. in the first chunks you set the options and load the packages. Next create abbreviations, you don’t have to care about the ordering, just put them down as you realize you are creating them. The first step makes a dataframe (a tibble, rowwise), and t...

1587 sym R (439 sym/2 pcs)

Moving parts of a country over a map

28.01.2018

I love making maps, I also love making gifs. In this short post I make an animated gif of parts of a map moving. In this case the parts of the map only move in the xy direction, but you can also turn them, and make them bigger or smaller. Today I show you how I made a part of the Netherlands ‘float away’. It is part of a larger nonsense proje...

1880 sym R (3149 sym/3 pcs) 2 img

Moving parts of a country over a map

28.01.2018

I love making maps, I also love making gifs. In this short post I make an animated gif of parts of a map moving. In this case the parts of the map only move in the xy direction, but you can also turn them, and make them bigger or smaller. Today I show you how I made a part of the Netherlands ‘float away’. It is part of a larger nonsense proje...

1960 sym R (3152 sym/3 pcs) 2 img

Setting up a version controlled shiny-server

05.02.2018

Last week I set up a shiny server, it was relatively easy! But I wanted something more, a way to make changes on my local computer and push it to the server. Shiny server (I used the open source version) has multiple installers provided by RStudio. The installers for shiny-server create a user shiny and installs all the services needed. I used a ...

3780 sym R (142 sym/2 pcs)

Setting up a version controlled shiny-server

05.02.2018

Last week I set up a shiny server, it was relatively easy! But I wanted something more, a way to make changes on my local computer and push it to the server. Shiny server (I used the open source version) has multiple installers provided by RStudio. The installers for shiny-server create a user shiny and installs all the services needed. I used a ...

3871 sym R (142 sym/2 pcs)

Adding logging to a shiny app with loggit

27.02.2018

This is a very short post with example code Over time when you move your shiny app from your computer to a server, you want to add some logging. Generally logging is defined in levels : INFO (everything you want to print), WARNING (it does not stop the application, but it could be a problem), and ERROR (fatal things). Shiny server does already lo...

2222 sym R (380 sym/1 pcs)

Adding logging to a shiny app with loggit

27.02.2018

This is a very short post with example code Over time when you move your shiny app from your computer to a server, you want to add some logging. Generally logging is defined in levels : INFO (everything you want to print), WARNING (it does not stop the application, but it could be a problem), and ERROR (fatal things). Shiny server does already lo...

2308 sym R (381 sym/1 pcs)

Cleaning up and combining data, a dataset for practice

11.03.2018

tldr: I created an open dataset for the explicit practice of data munging. Feel free to use it in assignments, but do mention where you got it from (CC-by-4.0). Also unicorns are awesome. Find the dataset at: https://github.com/RMHogervorst/unicorns_on_unicycles Data munging / cleaning / engineering At work I was working with a two excel files th...

3690 sym