Using topic models, an unsupervised learning approach developed for information retrieval, has become common in the humanities and the social sciences. But in this disciplinary context, the methodological relocation of topic modelling requires the development of best practices and tools how validity can be ensured. The topicanalysis package offers a toolset to evaluate topic models, and to support validation by offering a nexus between quantitative and qualitative inquiry.
Installation on Windows has not been tested at this stage, but should be possible. Installing the package from GitHub requires the devtools package. Note that an Installation of Rtools will be a prerequisite to get Rtools installed.
devtools::install_github("PolMine/topicanalysis")
Installing the topicmodels package may require to have the GNU Scientific Library installed (GSL). We recomment to use the brew package manager to meet this system requirement.
brew install gsl
The topicanalysis package is a GitHub-only package at this stage. Using the installation mechanism from the devtools package, you can install it as follows:
devtools::install_github("PolMine/topicanalysis")
The package relies on the topicmodels package which has the GNU Scientific Library (GSL) as a system requirement. Install it as follows.
sudo apt-get install libgsl-dev
devtools::install_github("PolMine/topicanalysis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.