The goal of the package leadeR is to profile political leaders based on Leadership Trait Analysis (LTA) and Operational Code Analysis (OCA). Users provide text data and the package performs the analyses.
Prerequisites
- Python (3.8 or later)
- spaCy Python library with an English language model installed
- spacyr R package (interface between R and spaCy)
To install spaCy and the English model:
Installation
You can install the package leadeR from GitHub with:
# install.packages("remotes")
remotes::install_github("mmukaigawara/leadeR")