課程大綱
Course Objectives
This course is designed to develop the skill of efficient graphic language, where efficiency is defined as the data information delivery that is self-contained, concise, and non-distorting. The programming language is mainly based on R, with a little bit of Javascript toward the end. Though there is no computer programming knowledge required, basic R knowledge will help (the ebook, R for Data Science, would be a good start). By the end of the course, students who learn well should be able to design professional dashboards like the Big-Mac index from 《the Economist》 Magazine . (The course will be taught in mixed language–Chinese and English, but mainly in English, since English is an important skill for being a good programmer.)
Assesment
1. 課堂參與:10%
2. 作業:40%
2.2 觀賞作品與評分
下週二至下週三中午
至課程作品展示網頁(非電子書)觀賞全班作品
於週三中午前至評分表給分(1-5顆星),並勾選心中前5名。
關於分組。前三次會電腦隨機配對,之後由大家自由決定。
2.3 公佈佳作
每週去除5位評審(心中前5名猜中率最低的),直到10位
之後由這10位擔任評審,學期成績加6分。
3 期末資訊儀表板網頁設計:50%
Before you start
Before your start, please do the following:
Register a Gmail.
Install Google Chrome.
Register a GitHub account, then install Github Desktop.
Register a Gitter account using your GitHub account.
Sign up Gitter chat room of this course.
Sign up a Hypothes.is account.
Join course Hypothes.is group (click to join).
Install Hypothes.is Chrome extension
Fill in your account information in 學生資訊帳號單.
作品上傳
步驟1: 圖片存檔
假設你的ggplot圖形物件名稱為figureOut
(這名字必需出現在你的Environment裡)且你打算輸出存成名稱為Interest-Rate.png
的圖形檔,則你可以執行以下指令:
ggsave(filename="Interest Rate.png",figureOut)
步驟2: 使用測試樣版
步驟3: 上傳
環境設定
library(showtext)
knitr::opts_chunk$set(fig.showtext=TRUE)
font_add("QYuan","cwTeXQYuan-Medium.ttf") # 新增字體
showtext_auto(enable=TRUE) #啟用字體
library(ggplot2)
library(dplyr)
library(lubridate)
library(readr)
theme_set(theme_classic())