https://github.com/malcolmbarrett/koanr
:wheel_of_dharma: An R package containing data on important Zen texts
https://github.com/malcolmbarrett/koanr
r rstats text zen
Last synced: 9 months ago
JSON representation
:wheel_of_dharma: An R package containing data on important Zen texts
- Host: GitHub
- URL: https://github.com/malcolmbarrett/koanr
- Owner: malcolmbarrett
- License: other
- Created: 2018-02-06T21:50:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T18:42:26.000Z (almost 8 years ago)
- Last Synced: 2025-03-05T12:48:17.874Z (over 1 year ago)
- Topics: r, rstats, text, zen
- Language: R
- Homepage:
- Size: 748 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
set.seed(50)
```
[](https://travis-ci.org/malcolmbarrett/koanr)
[](https://ci.appveyor.com/project/malcolmbarrett/koanr)
# koanr
`koanr` is (mostly) a data package containing the text for several of the more important Zen koan texts: The Gateless Gate (`gateless_gate`), The Blue Cliff Record (`blue_cliff_record`), The Record of the Transmission of the Light(`record_of_light`), and The Book of Equanimity(`book_of_equanimity`). `koanr` also includes functions for sampling koans.
## Examples
Quickly access a koan:
```{r koan, message=FALSE}
library(koanr)
koan(collection = gateless_gate, case = 1)
```
Pick a random koan:
```{r koan_random, message=FALSE}
koan()
```
Quickly bind all four collections:
```{r collect_all, message=FALSE}
collect_koans()
```