Working with a linguistic corpus using R: An introductory note with Indonesian Negating Construction
2018-04-06T06:37:01Z (GMT) by
This is a repository for codes and datasets for the open-access paper in Linguistik Indonesia, the flagship journal for the Linguistic Society of Indonesia (Masyarakat Linguistik Indonesia [MLI]) (cf. the link in the references below).
To cite the paper (in APA 6th style):
Rajeg, G. P. W., Denistia, K., & Rajeg, I. M. (2018). Working with a linguistic corpus using R: An introductory note with Indonesian negating construction. Linguistik Indonesia, 36(1), 1–36. doi: 10.26499/li.v36i1.71
To cite this repository:
Click on the
Cite(dark-pink button on the top-left) and select the citation style through the dropdown button (default style is
Dataciteoption (right-hand side)
This repository consists of the following files:
1. Source R Markdown Notebook (.
Rmdfile) used to write the paper and containing the R codes to generate the analyses in the paper.
2. Tutorial to download the Leipzig Corpus file used in the paper. It is freely available on the Leipzig Corpora Collection Download page.
3. Accompanying datasets as images and .
rdsformat so that all code-chunks in the R Markdown file can be run.
4. BibLaTeX and .
cslfiles for the referencing and bibliography (with APA 6th style).
5. A snippet of the R session info after running all codes in the R Markdown file.
6. RStudio project file (.
7. A .
Rproj). Double click on this file to open an RStudio session associated with the content of this repository. See here and here for details on Project-based workflow in RStudio.
7. A .
docxtemplate file following the basic stylesheet for Linguistik Indonesia
Put all these files in the same folder (including the downloaded Leipzig corpus file)!
To render the R Markdown into MS Word document, we use the
bookdownR package (Xie, 2018). Make sure this package is installed in R.
Yihui Xie (2018). bookdown: Authoring Books and Technical Documents with R Markdown. R package version 0.6.
CC BY-NC-SA 4.0