Package: leadeR 0.1.0

leadeR: Profiling Leaders at a Distance

Profiles political leaders at a distance from text data such as speeches, interviews, press conferences, and other public statements. Computes Leadership Trait Analysis scores for seven personality traits -- including need for power, conceptual complexity, and self-confidence -- and classifies leaders into one of eight leadership styles. Also computes Operational Code Analysis scores summarising a leader's beliefs about politics and the use of power.

Authors:Mitsuru Mukaigawara [cre, aut], Joshua Kertzer [aut]

leadeR_0.1.0.tar.gz
leadeR_0.1.0.zip(r-4.7)leadeR_0.1.0.zip(r-4.6)leadeR_0.1.0.zip(r-4.5)
leadeR_0.1.0.tgz(r-4.6-any)leadeR_0.1.0.tgz(r-4.5-any)
leadeR_0.1.0.tar.gz(r-4.7-any)leadeR_0.1.0.tar.gz(r-4.6-any)
leadeR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
leadeR/json (API)

# Install 'leadeR' in R:
install.packages('leadeR', repos = c('https://mmukaigawara.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mmukaigawara/leader/issues

Datasets:
  • jfk19610120 - JFK Speech: Inaugural Address
  • jfk19610925 - JFK Speech: Address Before the UN General Assembly
  • jfk19630610 - JFK Speech: Commencement Address at American University

On CRAN:

Conda:

4.88 score 5 scripts 312 downloads 12 exports 60 dependencies

Last updated from:ca84c59a61. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK196
source / vignettesOK199
linux-release-x86_64OK159
macos-release-arm64OK144
macos-oldrel-arm64OK144
windows-develOK100
windows-releaseOK94
windows-oldrelOK111
wasm-releaseOK138

Exports:clean_textget_affget_complexget_confget_ctrlget_distget_ltaget_natget_ocaget_powerget_tasktype_lta

Dependencies:askpassclicountriescountrycodecpp11curldata.tabledplyrevaluatefarverfastmatchgenericsggplot2gluegridExtragtableherehighrhttrisobandjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMatrixmimeopensslpillarpkgconfigpngpurrrR6rappdirsRColorBrewerRcppRcppTOMLreticulaterlangrprojrootS7scalesspacyrstringdiststringistringrsystibbletidyrtidyselecttimechangeutf8vctrsviridisviridisLitewithrxfunyaml

Installation, Initialization, and Data Cleaning
Prerequisites | Installing leadeR | Initialization | Sample data | Text cleaning

Last update: 2026-05-14
Started: 2026-05-06

Operational Code Analysis (OCA)
Setup | Computing OCA indices | Philosophical beliefs (P indices) | Instrumental beliefs (I indices)

Last update: 2026-05-14
Started: 2026-05-06

Leadership Trait Analysis (LTA)
Setup | Computing trait scores | All traits at once | Individual traits | Leader typology | Aggregation methods | Classification dimensions | Leadership styles | Custom thresholds

Last update: 2026-05-06
Started: 2026-05-06