I came up with a weekly R challenge as a way to “force” myself into learning new things. One figure, every week! The catch is that every time I should be trying something new… maybe I’ll use a new type of visualization, or maybe I’ll explore a new dataset. Initially I thought it would be neat if there was some unifying topic, e.g. water, but, then I decided to keep it open.
Weekly R challenge, Entry #2
This is my first entry for 2019!
I decided to keep it simple and relevant to what is going on in my life right now. I just moved out of Singapore and currently I am visiting my family in Bulgaria. I realized that I know less about Bulgarian water consumption than for Singaporean one. That's why I decided to explore some of the national statistics on daily domestic water use (l/cap/day). I used the official Bulgarian and Singaporean stats for the period 2010-2017. Additionally, I explored a new (to me) color-blind friendly R library (dichromat).
Domestic water use in Singapore has been dropping in the period of interest, but is still quite high in comparison with Bulgarian domestic water use. The mean for the period (2010-2017) for Bulgaria is 99 l/cap/day; while, for Singapore is 150.25 l/cap/day. It is probably unfair comparison, because Singapore is in a tropical climate and Bulgaria is not.
Leave a Reply