Blog Archives

Cleaning up and combining data, a dataset for practice

March 11, 2018
By

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

Read more »

Adding logging to a shiny app with loggit

February 27, 2018
By

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

Read more »

Setting up a version controlled shiny-server

February 5, 2018
By

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

Read more »

Moving parts of a country over a map

January 28, 2018
By
Moving parts of a country over a map

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

Read more »

add abbreviations to your rmarkdown doc

January 23, 2018
By

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

Read more »

Adding bananas from the commandline (extending the oomsifier)

December 28, 2017
By
Adding bananas from the commandline (extending the oomsifier)

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

Read more »

If blogging was like academia, we would all be saved, thank you for your edits.

December 18, 2017
By
If blogging was like academia, we would all be saved, thank you for your edits.

A month ago I posted a short piece inspired by a post by Maële Salmon She actually reached out to me in 10 minutes, telling me I made a weird spelling error (no excuses, I really make those a lot). Then a day or two later Jon Spring walked thro...

Read more »

Downloading files from a webserver, and failing.

December 7, 2017
By
Downloading files from a webserver, and failing.

Recently I wanted to download all the transcripts of a podcast (600+ episodes). The transcripts are simple txt files so in a way I am not even ‘web’-scraping but just reading in 600 or so text files which is not really a big deal. I thought...

Read more »

Building the oomsifyer

November 27, 2017
By
Building the oomsifyer

Today I will show you a quick hack (OK it took me like 4 hours during my travels today yesterday and today), on how to add a dancing banana to any picture. Now, you might be thinking… Really, why would you add a dancing banana to a picture, but...

Read more »

Where to live in the Netherlands based on temperature XKCD style

November 19, 2017
By
Where to live in the Netherlands based on temperature XKCD style

After seeing a plot of best places to live in Spain and the USA based on the weather, I had to chime in and do the same thing for the Netherlands. The idea is simple, determine where you want to live based on your temperature preferences. First ...

Read more »

Search R-bloggers


Sponsors

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)