About
An R package for managing and analyzing text, created by Kenneth Benoit in collaboration with a team of core contributors: Kohei Watanabe, Paul Nulty, Adam Obeng, Haiyan Wang, Ben Lauderdale, and Will Lowe. Supported by the European Research Council grant ERC-2011-StG 283794-QUANTESS.
For more details, see http://quanteda.io.
How to cite the package:
Benoit K (2017). _quanteda: Quantitative Analysis of Textual
Data_. doi: 10.5281/zenodo.1004683 (URL:
http://doi.org/10.5281/zenodo.1004683), R package version 0.99.22,
<URL: http://quanteda.io>.
A BibTeX entry for LaTeX users is
@Manual{,
title = {quanteda: Quantitative Analysis of Textual Data},
author = {Kenneth Benoit},
year = {2017},
doi = {10.5281/zenodo.1004683},
url = {http://quanteda.io},
note = {R package version 0.99.22},
}
How to Install
From CRAN: Use your GUI's R package installer, or execute:
install.packages("quanteda")
From GitHub, using:
# devtools packaged required to install quanteda from Github devtools::install_github("kbenoit/quanteda")
Because this compiles some C++ source code, you will need a compiler installed. If you are using a Windows platform, this means you will need also to install the Rtools software available from CRAN. If you are using macOS, you will need to to install XCode, available for free from the App Store, or if you prefer a lighter footprint set of tools, just the Xcode command line tools, using the command
xcode-select --install
from the Terminal.Also, you might need to upgrade your compiler. @kbenoit found that his macOS build only worked reliably after upgrading the default Xcode compiler to clang4, following these instructions.
Additional recommended packages:
The following packages work well with or extend quanteda and we recommend that you also install them:
readtext: An easy way to read text data into R, from almost any input format.
spacyr: NLP using the spaCy library, including part-of-speech tagging, entity recognition, and dependency parsing.
quantedaData: Additional textual data for use with quanteda.
devtools::install_github("kbenoit/quantedaData")
LIWCalike: An R implementation of the Linguistic Inquiry and Word Count approach to text analysis.
devtools::install_github("kbenoit/LIWCalike")
Leaving feedback
If you like quanteda, please consider leaving feedback or a testimonial here.
Contributing
Contributions in the form of feedback, comments, code, and bug reports are most welcome. How to contribute:
- Fork the source code, modify, and issue a pull request through the project GitHub page. See our Contributor Code of Conduct and the all-important quanteda Style Guide.
- Issues, bug reports, and wish lists: File a GitHub issue.
- Usage questions: Submit a question on the quanteda channel on StackOverflow.
- Contact the maintainer by email.