knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
# CRAN 버전 (아직 안됩니다) install.packages('komment') # 개발 버전 install.packages('komment', repos = 'https://forkonlp.r-universe.dev')
2개의 speech에 대한 함수와 3개의 검색 조건에 대한 함수로 이루어져 있습니다.
처음 함수는 speech를 검색하는 함수입니다. library(komment)
를 이용해 패키지를 로드해야 사용할 수 있습니다.
library(komment)
search_speech(count = 10)
두 번째는 speech text를 가져오는 함수입니다.
get_speech("https://www.pa.go.kr/research/contents/speech/index.jsp?spMode=view&catid=c_pa02062&artid=1308580")
search_speech()
함수의 인자 중에 president, field, event에서 사용할 조건을 출력해줍니다.
# 대통령 리스트 출력 get_president() # 유형 리스트 출력 get_event()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.