Visualizing Language Loss in Taiwan: Create an “Age-Sex Pyramid of Language” with ggplot2

Taiwan Language Survey is a small project I worked on during May to June in 2018. The idea was to create a survey that continuously collects data and a web page that visualizes the collected data. The web page is updated weekly using Travis-CI. The main purpose of this survey is to raise public awareness of language loss in Taiwan. Hence, the su...

Read more

Using Travis-CI to Create R-bloggers for Taiwan

R-bloggers.com is a great platform for R users, but I sometimes feel awkward to publish posts on R-bloggers when I have things to share that are only relevant to users in Taiwan1. Inspired by R-bloggers, I thought maybe I could use Travis-CI and GitHub to create a blog that automatically updates its posts by retrieving them from submitted RSS fe...

Read more

網路時代下的寫作

這篇文章並非 R Markdown 的教學文1,而是一篇企圖說服讀者採用 R Markdown 作為寫作工具的文章。本文以 R Markdown 撰寫並使用 blogdown 輸出部落格文章。原始碼託管於 GitHub。 從第一次接觸 R Markdown 至今經過了一年又三個月。而最近六個多月,我都沒有使用過 Microsoft Word 寫東西,因為 R Markdown 強大的功能使我得以不用 Word 也能生存 – 我用 R Markdown 寫作業、文章、書、論文和部落格 (本文),製作筆記、投影片、甚至網頁。事實上,這正是 R Markdown 最吸引人的地方: 用相同的語法撰寫各式類型的文件。 兩種媒介:紙本 vs. 網頁 寫作的目的有一部分是要給人看,因此排版自...

Read more

大四老屁股的一些小技巧

在似乎完成了很多但又似乎沒達成什麼的感覺中,大學生活逐漸步入尾聲。回顧這幾年學到的東西,沒幾個可以拿出來說嘴,更別說是對每個人都有用的能力或技巧。不過有些小技巧似乎過於「微不足道」,反而沒人意識到這些技巧也是花時間摸索出來的。

Read more

Customizing Hugo / Blogdown RSS Templates

Blogdown makes it easy to create Hugo blogs or personal websites, and it is becoming more and more popular in the R community. Once the blog is created, people might want to submit their blogs’ RSS feeds to R-bloggers. But before that can happen, one must modify the RSS template to meet the requirements of RSS submission.

Read more