Skip to content

keyATM

0.5.5Package record

Keyword Assisted Topic Models

0packages dependsuggested by 3
6.2Kdownloads / year
88.4%test coverage
8/13flavors OK

Overview

About

Fits keyword assisted topic models (keyATM) using collapsed Gibbs samplers. The keyATM combines the latent dirichlet allocation (LDA) models with a small number of keywords selected by researchers in order to improve the interpretability and topic classification of the LDA. The keyATM can also incorporate covariates and directly model time trends. The keyATM is proposed in Eshima, Imai, and Sasaki (2024) doi:10.1111/ajps.12779.

Changes in 0.5.5
  • Updating the refine_keywords() function (#232)

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Base package in Suggests/Enhances imported in NAMESPACE:
  ‘stats’

r-devel-windows-x86_64

Base package in Suggests/Enhances imported in NAMESPACE:
  'stats'

CRAN check page ↗

Slowest check: 8.5 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-09-12
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-02
  • NOTE12 OK, 2 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.5
README· In the repository, left out of the releaseVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 0.5.5Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
42 (15 internal)includes a package overview page
Examples that run
0%6 never run
Exported functions with examples
26%
Documented parameters
100%
Return-value docs
78%
Help pages citing references
0%

Downloads

6.2K
CRAN downloads in the past year
Rank #5,481 · ~17/day · ~515/mo
Daily download trend is not available in this view yet.
57930 days
1.5K90 days
6.2K1 year
Compare downloads with other packages →
Also on377 r2u1 autocran

Repository

120Stars
18Forks
0Open issues
1Open PRs
14Releases
1,340Commits
12Commit identities
topic-modelspolitical-sciencenatural-language-processinglatent-dirichlet-allocationsocial-sciencerrcpprcppeigen
License file reads as GPL-3.0 · 1,340 commits · Last activity 2026-01-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-26 · 1112026-07-07 · 120
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/keyatm/keyatm on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, and on R-devel

Governance and community (2)
Issue templatesCODEOWNERS
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-01-17

pkgdown site last built 2026-01-17

Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)

Installing keyATM adds 51 packages (30 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, quanteda 4.2 MB.

Depends (1)
R >= 4.0
LinkingTo (3)
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

Datasets

People & History

People (8)
Author, Maintainer since 0.1.0 (2020)
Contributor · added in 0.3.0
Contributor · added in 0.5.3
Contributor · added in 0.3.1
Contributor · added in 0.4.2
Contributor
Releases (14)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.5Latest
    record
    2026-01-17 · current release · diff ↗
  • 0.5.4
    record
    2025-07-21 · diff ↗ ·
    added 1 export
    refine_keywords
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.3
    record
    2025-03-30 · diff ↗
  • 0.5.2
    record
    2024-04-24 · diff ↗ ·
    removed 1 export
    save.keyATM_output
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    record
    2024-02-05 · diff ↗
  • 0.5.0
    record
    2023-05-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.2
    record
    2023-01-06 · diff ↗ ·
    added 2 exports
    plot_topicprop, semantic_coherence
  • 0.4.1
    record
    2022-06-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.0
    record
    2021-02-14 · diff ↗ ·
    added 1 export
    multiPGreg
  • 0.3.1
    record
    2020-07-29 · diff ↗
Show 6 earlier eventsHide 6 earlier events
  • 0.3.0
    record
    2020-07-13 · diff ↗ ·
    added 1 export
    read_keywords
  • 0.2.2
    record
    2020-06-03 · diff ↗
  • 0.2.0
    record
    2020-05-23 · diff ↗ ·
    removed 2 exports
    save.keyATM_viz, save_fig.keyATM_viz
    added 6 exports
    covariates_get, covariates_info, keyATMvb, plot_timetrend, save_fig, values_fig
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    2020-04-15
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-04-15
Total releases
14 / 6 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0
Bundled data
66 KB / 1 file
Download size
152 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("keyATM")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1111/ajps.12779.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for keyATM version 0.5.5 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy