---
title: "宇宙地球授業評価"
output:
  html_notebook:
    toc: yes
    toc_float: yes
  html_document:
    df_print: paged
    toc: yes
    toc_float: yes
---

```{r setup, echo=FALSE, cache=F, results="hide", include=FALSE}
library(knitr)
knitr::opts_chunk$set(echo = FALSE, cache=FALSE, warning = FALSE, dpi=600, fig.pos="h", engine.path = '/home/doi/miniconda3/bin/python')
pkgs <- c("readxl","magrittr","plyr","tidyverse","plotly","textreadr","DT","rmarkdown")
lapply(pkgs, require, character.only = TRUE)
options(xtable.comment = FALSE)
```

```{r data_input, include=FALSE}
data.dir <- "/home/doi/docs/hyouka/data/"
list.files(data.dir) -> term

kamoku <- kaitou <- comment <- data.frame(0)
for(i in 1:length(term)){
  paste0(data.dir,term[i],"/科目データ") %>% list.files %>% paste0(data.dir,term[i],"/科目データ/",.) %>% read_excel -> kamoku.t
  if(kamoku.t %>% names %>% match('履修人数',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% rename(履修者数=履修人数)
  if(kamoku.t %>% names %>% match('科目コード',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% rename(科目番号=科目コード)
  if(kamoku.t %>% names %>% match('教官名',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% rename(教員氏名=教官名)
  kamoku.t %<>% mutate(回収数=as.numeric(回収数),科目番号=as.numeric(科目番号),質問票=as.numeric(質問票)) %>%
    mutate(学期=term[i])
  if(kamoku.t %>% names %>% match('授業ＩＤ',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% rename(授業ID=授業ＩＤ)
  kamoku.t %<>% mutate(授業ID=as.numeric(授業ID))
  if(kamoku.t %>% names %>% match('教官番号',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% mutate(教員番号=as.numeric(教官番号)) %>% select(-教官番号)
  if(kamoku.t %>% names %>% match('教員区分',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% mutate(教員区分=as.character(教員区分))
  if(kamoku.t %>% names %>% match('教官区分',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% mutate(教員区分=as.character(教官区分)) %>% select(-教官区分)
  if(kamoku.t %>% names %>% match('教員コード',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% mutate(教員コード=as.numeric(教員コード))
  if(kamoku.t %>% names %>% match('履修者数',.) %>% is.na %>% '!'(.))
    kamoku.t %<>% mutate(履修者数=as.numeric(履修者数))
  kamoku.t %<>%
    mutate(部会番号=as.numeric(部会番号))
  kamoku.t %<>% .[!is.na(kamoku.t$部会名),]
  kamoku %<>% bind_rows(kamoku.t)
  paste0(data.dir,term[i],"/回答データ") %>% list.files %>% paste0(data.dir,term[i],"/回答データ/",.) %>% read_excel %>%
    mutate(学期=term[i],部会番号=as.numeric(部会番号)) %>% filter(部会番号 == 23) %>% select(-num_range(prefix="",range=1:1000,width=1)) -> kaitou.t
  try(kaitou.t %<>% select(-X__5),silent=TRUE)
  try(kaitou.t %<>% select(-'155__1'),silent=TRUE)
  try(kaitou.t %<>% select(-'156__1'),silent=TRUE)
  try(kaitou.t %<>% select(-'157__1'),silent=TRUE)
  try(kaitou.t %<>% select(-'158__1'),silent=TRUE)
  if(i==1){
    kaitou <- kaitou.t
  }else{
    kaitou %<>% bind_rows(kaitou.t)
  }
  paste0(data.dir,term[i],"/自由回答") %>% list.files %>% paste0(data.dir,term[i],"/自由回答/",.) %>% read_excel -> comment.t
  #教官名なしなら
  if(comment.t %>% names %>% match('教官名',.) %>% is.na){
    comment.t %<>% left_join(kamoku.t%>%select(授業ID,教員氏名,部会名,部会番号,科目名), by = "授業ID") %>%
      filter(!is.na(教員氏名)) %>%
      rename(教官名 = 教員氏名)
  }
  #"内容","自由回答"を"回答"に変更
  if(comment.t %>% names %>% match('内容',.) %>% is.na %>% '!'(.))
    comment.t %<>% rename(回答=内容)
  if(comment.t %>% names %>% match('自由回答',.) %>% is.na %>% '!'(.))
    comment.t %<>% rename(回答=自由回答)
  comment.t %>%
    mutate(部会名=as.factor(部会名),部会番号=as.numeric(部会番号)) %>% .[.$部会名=="宇宙地球",] %>%
    mutate(学期=term[i]) %>%
    bind_rows(comment) -> comment
}

#科目データのクリーニング
kamoku %<>% .[!is.na(kamoku$部会名),] %>% select(-X0)
kamoku$教員氏名 %<>% sub("　", " ", .)
kamoku$科目名 %<>% sub("（", "(", .)
kamoku$科目名 %<>% sub("）", ")", .)
kamoku[kamoku$科目名=='宇宙科学Ⅰ'&kamoku$教員氏名=='江里口 良治','科目名'] <- '宇宙科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='小河 正基'&kamoku$学期=="'03夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='磯崎 行雄'&kamoku$学期=="'03冬",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='小河 正基'&kamoku$学期=="'04夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='磯崎 行雄'&kamoku$学期=="'04冬",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='小河 正基'&kamoku$学期=="'05夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅰ'&kamoku$教員氏名=='小河 正基'&kamoku$学期=="'07夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
kamoku[kamoku$科目名=='惑星地球科学Ⅱ'&kamoku$教員氏名=='磯崎 行雄'&kamoku$学期=="'05冬",'科目名'] <- '惑星地球科学Ⅱ(文科生)'
kamoku$科目名 %>% unique %>% grep("理科生",.) -> rika
kamoku$科目名 %>% unique %>% .[rika] -> rika
#(理科生)の付いていない科目名には加える
for(i in 1:length(rika)){
  rika[i] %>% strsplit("\\(理科生\\)") %>% unlist %>% .[1] %>%
    match(kamoku$科目名,.) %>% is.na %>% `!` -> repl
  kamoku$科目名[repl] <- rika[i]
}

#回答データのクリーニング
kaitou %<>% rename(科目コード=科目番号) %>% mutate(科目コード=as.numeric(科目コード))
#回答データを対応する回答テキストに入れ替え
for(i in 1:length(term)){
  paste0(data.dir,term[i],"/質問票") %>% list.files %>% paste0(data.dir,term[i],"/質問票/",.) %>% read_document %>% strsplit('\n') %>% unlist -> enquiry
  enquiry %>% grep('\\[(1|2|3|4|5|6|7|8|9|0)+\\]',.) -> shitsumon
  enquiry[shitsumon] %>% grep('\\[5\\]',.) -> shitsumon.st
  shitsumon %<>% .[shitsumon.st:length(shitsumon)] %>% c(length(enquiry))
  shitsumon.text <- character(length(shitsumon)-1)
  offset <- 0
  kaitou.text <- list(0)
  paste0(data.dir,term[i],"/回答データ") %>% list.files %>% paste0(data.dir,term[i],"/回答データ/",.) %>% read_excel %>% select(-num_range(prefix="",range=1:1000,width=1)) %>% names -> shitsumon.item
  match(c('部会番号','質問票','授業ID','科目番号','教官番号','X__5','155__1','156__1','157__1','158__1'),shitsumon.item) -> exc.item
  exc.item <- exc.item[!is.na(exc.item)]
  shitsumon.item <- shitsumon.item[!(1:length(shitsumon.item) %in% exc.item)]
  shitsumon.item %>% 
    match(c('X__1','X__2','X__3','X__4'),.) -> exc.item
  exc.item <- exc.item[!is.na(exc.item)]
  shitsumon.name <- shitsumon.item[!(1:length(shitsumon.item) %in% exc.item)]
    
  for(j in 1:(length(shitsumon)-1)){
    shitsumon.text[j] <- enquiry[shitsumon[j]]
    for(k in (shitsumon[j]+1):(shitsumon[j+1]-1)){
      if(enquiry[k]==""&regexpr('1-',shitsumon.text[j])>0) break
      shitsumon.text[j] %<>% paste0(enquiry[k])
    }
    shitsumon.text[j] %<>% substr(.,regexpr('\\]',.)+1,nchar(.))
    if(regexpr(' ',shitsumon.text[j])==1) shitsumon.text[j] %<>% substr(.,2,nchar(.))
    
    kaitou.item <- numeric(0)
    for(k in 1:9){
      shitsumon.text[j] %>% regexpr(paste0(k,'-'),.) %>% c(kaitou.item,.) -> kaitou.item
      if(kaitou.item[k]==-1){
        kaitou.item[k] <- nchar(shitsumon.text[j])+1
        break
      }
    }
    kaitou.tmp <- character(length(kaitou.item)-1)
    for(k in 1:(length(kaitou.item)-1)){
      shitsumon.text[j] %>% substr(kaitou.item[k]+2,kaitou.item[k+1]-1) %>% gsub(" ","",.) %>% gsub("　","",.) -> kaitou.tmp[k]
      if(regexec('◆',kaitou.tmp[k]) > 1){
        kaitou.tmp[k] %<>% substr(1,regexec('◆',kaitou.tmp[k])[[1]]-1)
      }
      if(!is.na(shitsumon.name[j] %>% match("授業時間"))){
        offset <- k-1
        kaitou[kaitou$学期==term[i] & !is.na(kaitou[,shitsumon.item[j+offset]]) & kaitou[,shitsumon.item[j+offset]]==1,shitsumon.item[j+offset]] <- kaitou.tmp[k]
      }else{
        kaitou[kaitou$学期==term[i] & !is.na(kaitou[,shitsumon.item[j+offset]]) & kaitou[,shitsumon.item[j+offset]]==k,shitsumon.item[j+offset]] <- kaitou.tmp[k]
      }
    }
    kaitou.text[[j]] <- kaitou.tmp
    shitsumon.text[j] %<>% substr(1,regexpr('1-',.)-1) %>% gsub(" ","",.) %>% gsub("　","",.)
  }
  if(i==1){
    shitsumon.list <- list(題名=shitsumon.name,内容=shitsumon.text,回答=kaitou.text)
  }else{
    for(j in 1:length(shitsumon.name)){
      shitsumon.list$回答[[grep(shitsumon.name[j],shitsumon.list$題名)]] %<>% cbind(kaitou.text[[grep(shitsumon.name[j],shitsumon.name)]])
    }
  }
}

#自由記述回答のクリーニング
comment %<>% .[!is.na(comment$部会名),] %>% select(-X0)
comment$教官名 %<>% sub("　", " ", .)
comment$科目名 %<>% sub("（", "(", .)
comment$科目名 %<>% sub("）", ")", .)
comment[comment$科目名=='宇宙科学Ⅰ'&comment$教官名=='江里口 良治','科目名'] <- '宇宙科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='小河 正基'&comment$学期=="'03夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='磯崎 行雄'&comment$学期=="'03冬",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='小河 正基'&comment$学期=="'04夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='磯崎 行雄'&comment$学期=="'04冬",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='小河 正基'&comment$学期=="'05夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅰ'&comment$教官名=='小河 正基'&comment$学期=="'07夏",'科目名'] <- '惑星地球科学Ⅰ(文科生)'
comment[comment$科目名=='惑星地球科学Ⅱ'&comment$教官名=='磯崎 行雄'&comment$学期=="'05冬",'科目名'] <- '惑星地球科学Ⅱ(文科生)'
comment$科目名 %>% unique %>% grep("理科生",.) -> rika
comment$科目名 %>% unique %>% .[rika] -> rika
#(理科生)の付いていない科目名には加える
for(i in 1:length(rika)){
  rika[i] %>% strsplit("\\(理科生\\)") %>% unlist %>% .[1] %>%
    match(comment$科目名,.) %>% is.na %>% `!` -> repl
  comment$科目名[repl] <- rika[i]
}

# kaitou 教員氏名、科目名追加、複数教員の場合'学期a','学期b'...等とする
kaitou %<>% mutate(教員氏名=NA,科目名=NA)
for(i in 1:dim(kaitou)[1]){
  kamoku[kamoku$授業ID==kaitou$授業ID[i]&kamoku$学期==kaitou$学期[i],] %>% select(教員氏名,科目名) -> kamoku.sel
  kaitou$教員氏名[i] <- kamoku.sel$教員氏名
  kaitou$科目名[i] <- kamoku.sel$科目名
}

# 複数名担当教員リスト作成
kamoku %>% distinct(科目名,学期) -> kyoin.list
kyoin.list %<>% mutate(教員=NA)
suffix <- c('a','b','c','d','e','f','g')
for(i in 1:dim(kyoin.list)[1]){
  kyoin.list[i,] %>% left_join(kamoku%>%select(科目名,学期,教員氏名), by = c("科目名", "学期")) %>% select(教員氏名) %>% unique %$% 教員氏名 -> kyoin
  if(length(kyoin)[1]>1){
    kaitou$学期[kaitou$教員氏名==kyoin[1]&kaitou$学期==kyoin.list$学期[i]]  <- paste0(kyoin.list$学期[i],suffix[1])
    for(j in 2:length(kyoin)[1]){
      kyoin[1] %<>% paste0("+",kyoin[j])
      kaitou$学期[kaitou$教員氏名==kyoin[j]&kaitou$学期==kyoin.list$学期[i]]  <- paste0(kyoin.list$学期[i],suffix[j])
    }
  }
  kyoin.list$教員[i] <- kyoin[1]
}

save(kaitou,file="kaitou.dat");save(kamoku,file="kamoku.dat");save(comment,file="comment.dat");save(shitsumon.list,file="shitsumon.list.dat")
```

# 履修者数の推移

```{r fig.width=8}
# aggregate(kamoku %>% select(履修者数,回収数),by=list(科目名 = kamoku$科目名,学期 = kamoku$学期,教員氏名 = kamoku$教員氏名),FUN=sum) %>%
  # left_join(kamoku%>%select(科目名,学期,教員氏名),by = c("科目名", "学期", "教員氏名")) %>% arrange(科目名,学期) -> plot.data
aggregate(kamoku %>% select(履修者数,回収数),by=list(科目名 = kamoku$科目名,学期 = kamoku$学期),FUN=sum) %>%
  left_join(kyoin.list,by = c("科目名", "学期")) %>% arrange(科目名,学期) -> plot.data
plot.data$科目名%>%unique%>%sort -> kamoku.list
kamoku.list %>% grep("宇宙",.) -> uchu
kamoku.list %>% grep("地球",.) -> chikyu
kamoku.list <- c(kamoku.list[c(uchu,chikyu)],
               kamoku.list[!c(1:length(kamoku.list))%in%c(uchu,chikyu)])
p <- plot_ly(plot.data[plot.data$科目名==kamoku.list[1],], x = ~学期, y = ~履修者数, name = kamoku.list[1], type = 'scatter', mode = 'lines+markers',hoverinfo='text',text=with(plot.data[plot.data$科目名==kamoku.list[1],],paste0(科目名,'\n',教員,'\n',履修者数,' 名')))
for(i in 2:length(kamoku.list)){
  p %<>% add_trace(data=plot.data[plot.data$科目名==kamoku.list[i],], x = ~学期, y = ~履修者数, name = kamoku.list[i], mode = 'lines+markers',hoverinfo='text',text=with(plot.data[plot.data$科目名==kamoku.list[i],],paste0(科目名,'\n',教員,'\n',履修者数,' 名')))
}
p %<>% layout(xaxis = list(title=NA), yaxis = list(type = "log"), font = list(size = 16), legend = list(orientation = 'h'))
p
```

```{r data_plot}
data_plot <- function(i=1){
  data.dir <- '/home/doi/docs/hyouka/data/'
  suffix <- c('a','b','c','d','e','f','g')
  list.files(data.dir) -> term
  load('/home/doi/docs/hyouka/kaitou.dat');load('/home/doi/docs/hyouka/kamoku.dat');load('/home/doi/docs/hyouka/comment.dat');load('/home/doi/docs/hyouka/shitsumon.list.dat')

  kamoku$科目名 %>% unique %>% sort -> kamokumei
  kamokumei %>% grep('宇宙',.) -> uchu
  kamokumei %>% grep('地球',.) -> chikyu
  kamokumei <- c(kamokumei[c(uchu,chikyu)],
                 kamokumei[!c(1:length(kamokumei))%in%c(uchu,chikyu)])

  for(j in 1:length(shitsumon.list$題名)){
    kaitou %>% select(shitsumon.list$題名[j],'学期','教員氏名','科目名') -> tmp.data
    plot.data <- tmp.data[tmp.data$科目名==kamokumei[i],]
    plot.data %<>% count %>% arrange(学期)
    title.txt <- shitsumon.list$題名[j]
    if(title.txt == '授業時間'){
      jyugyou.extra <- c('X__1','X__2','X__3','X__4')
      for(k in 1:length(jyugyou.extra)){
        kaitou %>% select(jyugyou.extra[k],'学期','教員氏名','科目名') -> tmp.data
        plot.data2 <- tmp.data[tmp.data$科目名==kamokumei[i],]
        plot.data2 %<>% count %>% arrange(学期)
        names(plot.data2)[1] <- names(plot.data)[1]
        plot.data %<>% bind_rows(plot.data2)
      }
    }
    plot.data[!is.na(plot.data[,1]),] -> plot.data
    plot.data[plot.data[,1]!=99,] -> plot.data
    if(dim(plot.data)[1]>0){
    plot.data %<>% unique
    plot.data %<>% left_join(aggregate(plot.data %>% select(freq),by=list(学期=plot.data$学期),FUN=sum) %>% rename(total=freq), by = '学期')
    plot.data %<>% mutate(percent=freq/total*100)
    
    #入学年度のみ全項目をリストして出力
    if(title.txt == '入学年度'){
      nendo.list <- plot.data[,1] %>% unique %>% sort(decreasing = TRUE)
      pdata <- plot.data[plot.data[,1]==nendo.list[1],] %>% arrange(学期)
      p <- plot_ly(pdata, x=~学期, y=~percent, name = nendo.list[1], type = 'bar', #type = 'scatter', mode='lines+markers',
                 hoverinfo='text', text=with(pdata,paste0(教員氏名,'\n',nendo.list[1],'\n',freq,' 名')))
      for(k in 2:length(nendo.list)){
        pdata <- plot.data[plot.data[,1]==nendo.list[k],] %>% arrange(学期)
        p %<>% add_trace(data=pdata, x = ~学期, y = ~percent, name = nendo.list[k], #mode = 'lines+markers',
                         hoverinfo='text', text=with(pdata,paste0(教員氏名,'\n',nendo.list[k],'\n',freq,' 名')))
      }
    }else{
    #質問項目が変わった内容について積算して出力
      kst <- FALSE
      kst.num <- shitsumon.list$回答[[j]] %>% dim %>% .[1]
      for(k in (shitsumon.list$回答[[j]] %>% dim %>% .[1]):1){
        kaitou.list <- shitsumon.list$回答[[j]] %>% .[k,]
        kaitou.listi <- unique(kaitou.list)
        pdata <- plot.data[plot.data[,1]==kaitou.listi[length(kaitou.listi)],] %>% arrange(学期)
        while(!kst & dim(pdata)[1]==0){
          k %<>% '-'(1)
          if(k < 1)
            break
          kaitou.list <- shitsumon.list$回答[[j]] %>% .[k,]
          kaitou.listi <- unique(kaitou.list)
          pdata <- plot.data[plot.data[,1]==kaitou.listi[length(kaitou.listi)],] %>% arrange(学期)
          kst.num <- k
        }
        kst <- TRUE
        if(length(kaitou.listi)>1){
          for(l in 1:(length(kaitou.listi)-1)){
            pdata %<>% bind_rows(plot.data[plot.data[,1]==kaitou.listi[l],])
          }
          pdata %<>% arrange(学期)
        }
        if(k == kst.num){
          kaitou.list %<>% data.frame(
            回答=kaitou.list,
            学期=c(term[1:length(kaitou.list)],paste0(term[1:length(kaitou.list)],suffix[1]),paste0(term[1:length(kaitou.list)],suffix[2]),paste0(term[1:length(kaitou.list)],suffix[3]),paste0(term[1:length(kaitou.list)],suffix[4]),paste0(term[1:length(kaitou.list)],suffix[5]),paste0(term[1:length(kaitou.list)],suffix[6]))) %>%
            right_join(pdata %>% select(学期),by='学期') %>% select(回答) %$% 回答 %>% as.character
          p <- plot_ly(pdata, x=~学期, y=~percent, name = kaitou.list[length(kaitou.list)], type = 'bar', #type = 'scatter', mode='lines+markers',
                       hoverinfo='text', text=with(pdata,paste0(教員氏名,'\n',kaitou.list,'\n',freq,' 名')))
        }else{
          if(dim(pdata)[1]>0){
            kaitou.list %<>% data.frame(
              回答=kaitou.list,
              学期=c(term[1:length(kaitou.list)],paste0(term[1:length(kaitou.list)],suffix[1]),paste0(term[1:length(kaitou.list)],suffix[2]),paste0(term[1:length(kaitou.list)],suffix[3]),paste0(term[1:length(kaitou.list)],suffix[4]),paste0(term[1:length(kaitou.list)],suffix[5]),paste0(term[1:length(kaitou.list)],suffix[6]))) %>%
              right_join(pdata %>% select(学期),by='学期') %>% select(回答) %$% 回答 %>% as.character
            p %<>% add_trace(data=pdata, x = ~学期, y = ~percent, name = kaitou.list[length(kaitou.list)], #mode = 'lines+markers',
                             hoverinfo='text', text=with(pdata,paste0(教員氏名,'\n',kaitou.list,'\n',freq,' 名')))
          }
        }
      }
    }
    p %<>% layout(xaxis = list(title=NA), yaxis = list(title=paste(title.txt,'[%]')), font = list(size = 16), legend = list(orientation = 'h'), barmode = 'stack')
    paste0('# ',shitsumon.list$題名[j],'\n\n',shitsumon.list$内容[j],'\n\n') %>% cat
    print(p)
    cat('\n\n')
    }
  }

  cat('# 自由回答\n\n')
  comment[comment$科目名 == kamokumei[i],] %>%
    select(学期,教官名,回答) %>%
    mutate(学期=as.factor(学期),教官名=as.factor(教官名)) %>%
    arrange(学期) %>%
    datatable(filter = 'top',
              extensions = 'Scroller',
              options = list(pageLength=50,scrollY = 500,scrollCollapse = TRUE,dom='ltipr')) %>%
    print
  cat('\n\n')
  
#  cat('# トップページに戻る\n\n[トップページのリンク](http://akari.c.u-tokyo.ac.jp/~doi/hyouka/hyouka.nb.html)')
  cat('# トップページに戻る\n\n[トップページのリンク](http://ea.c.u-tokyo.ac.jp/hyouka.nb.html)')
}
save(data_plot,file="data_plot.dat")
```
```{r disp_result, results='asis'}
kamoku$科目名 %>% unique %>% sort -> kamokumei
kamokumei %>% grep("宇宙",.) -> uchu
kamokumei %>% grep("地球",.) -> chikyu
kamokumei <- c(kamokumei[c(uchu,chikyu)],
               kamokumei[!c(1:length(kamokumei))%in%c(uchu,chikyu)])

cat('# 個別科目データ\n\n')
for(i in 1:length(kamokumei)){
  # paste0('## [',kamokumei[i],'](http://akari.c.u-tokyo.ac.jp/~doi/hyouka/hyouka_',i,'.nb.html)\n\n') %>% cat
  paste0('## [',kamokumei[i],'](http://ea.c.u-tokyo.ac.jp/kamoku/hyouka_',i,'.nb.html)\n\n') %>% cat

  out.file.name <- paste0("/home/doi/docs/hyouka/kamoku/hyouka_",i,".Rmd")
  out.file <- "---
title: '"
  out.file %<>% paste0(kamokumei[i])
  out.file %<>% paste0("'
output:
  html_notebook:
    toc: yes
    toc_float: yes
  html_document:
    df_print: paged
    toc: yes
    toc_float: yes
---

\`\`\`{r setup, echo=FALSE, cache=F, results='hide', include=FALSE}
library(knitr)
knitr::opts_chunk$set(echo = FALSE, cache=FALSE, warning = FALSE, dpi=600, fig.pos='h', engine.path = '/home/doi/miniconda3/bin/python')
pkgs <- c('readxl','magrittr','plyr','tidyverse','plotly','textreadr','DT')
lapply(pkgs, require, character.only = TRUE)
options(xtable.comment = FALSE)
\`\`\`

\`\`\`{r disp_result, fig.width=8, out.width='100%', results='asis'}
load('/home/doi/docs/hyouka/data_plot.dat')
data_plot(")
  out.file %<>% paste0(i)
  out.file %<>% paste0(")
\`\`\`
")
  write.table(out.file,file=out.file.name,quote=F,row.names=F,col.names=F)
}
```
```{r render, eval=FALSE}
for(i in 1:length(kamokumei)){
# for(i in 1){
  out.file.name <- paste0("hyouka_",i,".Rmd")
  render(out.file.name)
}
```

