Απάνω Στην Τριανταφυλλιά - On the rose bush: Apano Stin Triandafillia (Απάνω Στην Τριανταφυλλιά - often referred shortly Apano Stin) means is “Upon the rose bush”. As many of Greek and other folksongs (Dimotika - Δημοτικά) is about feeling of love symbolized by the nature. English lyrics On the rose bush1 On the -my black eyes- On the...
Posted on:
Over or below the red line: Summary: Current and historical mortality data can be used for assessing the net cost of current pandemic. Hungarian data for the first eight months are favourable compared to the US. However the infection curves are rising in several EU countries while the spread of the virus seems to be slowing...
Posted on:
Adding European capitals to Eurostat map: One can easily draw a map for 37 “Eurostat countries” as it was demonstrated in this post. However adding capital cities to the map can be tricky. The following example will use {maps} package for this purpose. The data at hand needs to be updated and cleaned to reflect recent...
Posted on:
Mapping Eurostat data: Recently, I found a post on mapping Eurostat data, which was written in 2016 by Markus Kainu. It is not too old, but an important function within {eurostat} package became obsolote since then. merge_eurostat_geodata() have been abondoned because of switching to simple features standard. After some searching I found a...
Posted on:
COVID-19 reproducible plots: These plots are based on a modified theme_grey and data are retrieved from ourworldindata.org’s github repo.
Code as a gist:
Posted on:
Weighted survey means: The following simple example will use European Social Survey (ESS) integrated datafile in order to plot unweighted and weighted distribution of the generalized trust variable (ppltrst). Here are the two plots. The underlying codes demonstrate how to use srvyr and dplyr to work together on survey data. R can be...
Posted on:
Ranger custom configuration: Configuration files are located at /etc/range/config/ commands.py: contains various functions’ implementation, written in Python, used to modify ranger’s behavior, rc.conf: is used for setting various options and binding the keys to functions, rifle.conf: decides which program to use for opening which file, scope.sh: is a shell script used to generate...
Posted on:
Git basics: You clone a repository with git clone URL. For example, if you want to clone the Git linkable library called SUBDIR, you can do so like this: $ git clone URL/SUBDIR That creates a directory named SUBDIR, initializes a .git directory inside it, pulls down all the data for that...
Posted on:
Formating demo: “Markdown is not a replacement for HTML, or even close to it. Its syntax is very small, corresponding only to a very small subset of HTML tags. The idea is not to create a syntax that makes it easier to insert HTML tags. In my opinion, HTML tags are already...
Posted on:
Adding custom rifle menu for markdown files in Ranger FM: “rifle is a powerful file executor that allows for complex file type checking, written to meet the needs of the file manager ranger. rifle’s strength lies in automatically determining file types, depending on which programs are installed on the system, even without any user interaction.is a command like tool to...
Posted on:
pdftk - A CLI tool to manipulate pdf files: pdftk is a command like tool to manipulate (merge, extract, encrypt, etc) pdf files. On Ubuntu you can install from it from the repositories, like: sudo apt install pdftk Extract pages from a long pdf Take long.pdf and cut out pages 5-14 to output_pp5_14.pdf. pdftk long.pdf cat 5-14 output_pp5_14.pdf` Merge...
Posted on:
youtube-dl: youtube-dl is a command-line program to download videos and subtitles from youtube. It works not only on youtube.com, but on many more sites. Supported sites To download the most recent version visit project page and follow the install instructions. Caveat: see a recent issue/bug raised on r/youtubedl! Example 1 -...
Posted on:
Cheatsheet for ranger FM: Ranger fm, is a console based file manager (fm) on Unix/Linux. It has a special three-column view features (that is called Miller columns), but it is also able to behave as a dual-pane fm, like Midnight Commander (MC), total commander, etc. (Actually many keys work like in MC. It is...
Posted on:
Movable feast: A movable feast - according to this article - “is a celebration on the liturgical calendar that changes its date from year to year, but occurs on the same day of the week. The term movable feast has been in use since the early 1400s, and primarily refers to Easter...
Posted on:
The great divide (part 1): Steve Bannon interview transcript from YouTube. Some highlights and interesting parts emphasized. The interview was conducted on March 17, 2019 during the making of the two-part January 2020 documentary series “America’s Great Divide: From Obama to Trump.” as part of Transparency Project of PBS|Frontline. >__"It’s quite Darwinian as a young...
Posted on:
Barchart race with Flourish: Flourish is a data visualisation site with a free plan that enables you to embbed your chart to your website. The following example shows the number of passanger cars per 1000 inhabitants in selected European countries. Passanger cars: “Road motor vehicle, other than a moped or a motor cycle, intended...
Posted on:
Miller columns: “Miller columns (also known as cascading lists) are a browsing/visualization technique that can be applied to tree structures. The columns allow multiple levels of the hierarchy to be open at once, and provide a visual representation of the current location. It is closely related to techniques used earlier in the...
Posted on:
Creating wordcloud in R: I am reading Y. N. Harari’s bestseller book, Sapiens: A Brief History Of Humankind. I will use it’s text to show some basic capacities of R to analyse texts quantitatively. And also wanted to give a try to a color scheme named after the American filmmaker, Wes Anderson. The book...
Posted on: