The goal of josaplay is to provide functions to add josa in Korean text. It is useful with Rmarkdown.
You can install the released version of josaplay from CRAN with:
install.packages("josaplay")
And the development version from GitHub with:
# install.packages("remotes")
::install_github("mrchypark/josaplay") remotes
This is a basic example which shows you how to solve a common problem:
library(josaplay)
jsp_gwawa("상품")
#> [1] "상품과"
jsp_gwawa("텀블러")
#> [1] "텀블러와"
jsp_eunneun("사랑")
#> [1] "사랑은"
jsp_eunneun("탁자")
#> [1] "탁자는"
jsp_iga("고객")
#> [1] "고객이"
jsp_iga("모니터")
#> [1] "모니터가"
jsp_eulleul("패키지")
#> [1] "패키지를"
jsp_eulleul("컵")
#> [1] "컵을"
jsp_iga("145")
#> [1] "145가"
jsp_iga("k146")
#> [1] "k146이"