So, someone asked me about my summer time availability at work. I realized that my availability was a bit complex and perhaps it was easier to sent a figure/diagram rather than explaining it in 200 words. That’s where I thought of the idea of creating an availability calendar using ggplot2. The idea is to show basically three categories: available, not available and a limited period (where I am not available in person, but can read emails).
In this post, we are going to explore how to adjust various ggplot plot elements. What can be adjusted, what they are called and how they can be adjusted.
As a little holiday project, I got to working on mini terrariums. I had a few different ideas that didn’t all work together. So I ended up making three different variants. For one, I have some leafy plants and an animal prop. For the second one, I have moss and an toadstools. And finally cactus/dry succulents. I wanted a tiny sign post prop for the cacti but didn’t manage to get one. I bought the ~10cm glass balls from eBay, and the props from toy stores. The glass balls were filled with a small amount of charcoal followed by soil. The exposed soil on the top is covered with a thin layer of fine gravel. in hindsight, these glass were too small to work well. Also finding suitable plants of the right size can be tricky. Propagating cacti can be a bit of a pain.
I had a few days off and took the opportunity to go on a short getaway to snowy winter wonderland. The snow in Uppsala and most of Stockholm and southern Sweden is rubbish. To find some, good quality snow, one needs to drive 5 hours west to Norway. Regions north of Mora and places such as Sälen and Stöten seem to have a decent quality snow. I stayed at an STF hostel called Sälens Vandrarhem, close to Stöten. Nice, cozy place and the owner is a fun dude. At this time of the year, the hostel is literally empty and it was all mine. I drove a bit into Norway to the little town of Ljørdalen. The town centre is basically 2 houses, one of which is a supermarket and the other is a church. The snow in Norway is much nicer. Heavier and more consistent. The landscape is absolutely amazing.I also saw a whole herd of Moose wandering about. Unfortunately, they got away before I could get my camera. This place is excellent for winter photography.
I had this idea of using some of my travel photos to create a photo calendar. I would normally go about it using Adobe Photoshop or Adobe Illustrator. But, that would involve a lot of manual work placing dates and days for each month. I would also like to mark some public holidays and friend’s birthdays. So, I wondered if it might be possible to do it with R. After fiddling about with it over the weekend, I managed to make it work. It went better than I expected. And here I am recreating the calendar using some stock photos. All stock photos are royalty-free from Pexels. For the impatient ones, the whole code and images are available at this Github repository. For detailed guide, keep reading.