Do yourself a favor: learn Markdown – Episode 3, Academic writing

Academic writing with Markdown The origin of Markdown was a simple editing process to export web pages in HTML. In Episode 1 we learned that (original) Markdown has a simple syntax for enhancing text with rich elements while retaining the readability of a plain text format. Episode 2 explored Markdown variants and Markdown (free) software. In …

Do yourself a favor: learn Markdown – Episode 2

In Episode 1: Markdown is easy we saw how Markdown can simplify and streamline the creation of documents while working in easily readable plain text. In this episode we’ll explore: Markdown variations Since its original inception in 2004 by John Gruber, famous Apple commentator and online blogger as a plain text-to-HTML conversion tool, there has …

Do yourself a favor: learn Markdown – Master it in 10 minutes!

Episode 1: Markdown is easy, keeps things simple Markdown is… Markdown is a plain text formatting syntax that incorporates rich text elements while retaining the ease and readability of plain text. Why learn Markdown? Markdown greatly simplifies writing in the digital age and is a standard used on many web sites such as github. Markdown …

Google colab is a free cloud notebook environment

Introduction Google Colab is a  free cloud-based service that allows the execution of Python code using the Jupyter Notebook format. It is possible to use and install new python libraries. Furthermore it is possible to provide bash commands from the notebook and there are backdoor ways to even use R. The Python code uses only …

Download Google Drive Files using wget

The problem: transfer file between clouds Files on Google drive can be shared between users, but the default access to the file is via a web browser graphical interface. However, sometimes it may be useful, or even necessary, to access and download a file from a command line, for example downloading the file with the wget utility. …

Data Analysis Workshops Winter 2021

SUMMARY: Check calendar for Free "R" and "Python" workshops (Steenbock Library.) "Introduction to R with RStudio," "Data Wrangling in R" (SSCC - Social Science Computing Cooperative.) "Automating Tasks with the Unix Shell," "Data Management with SQL," "R: introduction / visualization / reports" (Software Carpentry through UW-Madison Data Science (fees apply).)

Strings as factors in R

Factors in R I recently mentioned the important default change that occurred with the release of the latest version of R (version 4.0.3) in a post titled  Default preference reversal in R and how that can impact current code. Recently I had 2 more encounters with this notion and I thought I’d write here how …

Default preference reversal in R

Default preferences I enjoy using R and RStudio, but I am always weary of upgrading R because that usually leads to some issue(s). The most recent was a bit long for me to diagnose, even though in retrospect it is a simple change in default preference, namely changing the default setting default.stringsAsFactors() from  TRUE in …

PowerShell – an opinionated primer

PowerShell One day I discovered that there was a Windows App called “PowerShell” while searching on my Windows 10 installation. I did not pay much attention to it even if I stumbled upon it a few times since. It seems that the early versions were present already in Windows 7, so in that sense it …

csvkit command-line spreadsheet can convert and compute multiple Excel files

(Last edit: April 11, 2023) Summary How to deal with many Excel files If  I had had the information I was looking for within a single Excel spreadsheet I would not have found csvkit because I would simply have copied the column containing the data I wanted, in that case a list of email. But …