knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%", message = FALSE )
ROpenDataSMM
是一個方便R使用OpenDataSMM的介面,讓開發者能夠直接使用R讀取資料,而不需要手動下載。
透過GitHub:
# install.packages("devtools") devtools::install_github("smmtw/ROpenDataSMM")
列出目錄下所有檔案:
library('ROpenDataSMM') files <- listFiles(path = "data") files
使用關鍵字搜尋檔案:
files <- searchFiles(keyword = "07", path = "data") files
取得檔案內容:
file <- showFile(path = "data/108.csv") file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.