This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
90 lines (60 loc) · 2.11 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# Quantitative Text Analysis for Linguistics Resources Kit
<!-- badges: start -->
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://github.com/qtalr/qtalrkit/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
This website contains the documentation for the R package `qtalrkit` and supplementary materials for the ["An Introduction to Quantitative Text Analysis for Linguistics: Reproducible Research using R"](https://qtalr.github.io/book) textbook.
## `qtalrkit` package
### Installation
<!-- You can install the released version of qtalrkit from [CRAN](https://CRAN.R-project.org) with: -->
You can install a development version of `qtalrkit` from [GitHub](https://github.com/) with:
```r
install.packages("remotes")
remotes::install_github("qtalr/qtalrkit")
```
### Load
Then load the package with:
```r
library(qtalrkit)
```
Please consult the [package documentation](https://qtalr.github.io/qtalrkit/reference) for more information.
## Supplementary materials
### Swirl lessons
**Installation**
The swirl lessons can be downloaded within an R console by running:
```r
install.packages("swirl")
library("swirl")
install_course_github("qtalr", "Lessons")
```
**Load and run**
To load and start a lesson run:
```r
swirl()
```
and follow the instructions to get started and to select a lesson.
::: {.callout}
**Updating the lessons**
If you need to update the lessons, run:
```r
library("swirl")
# Uninstall the course
uninstall_course("Lessons")
# Reinstall the course
install_course_github("qtalr", "Lessons")
```
:::
### Recipes and Guides
Other supplementary reading are appear in the [materials section](https://qtalr.github.io/qtalrkit/articles) of this site.