Skip to content

RKorAPClient

1.4.1Package record

'KorAP' Web Service Client Package

0packages depend
3.9Kdownloads / year
86.6%test coverage
13/13flavors OK

Overview

About
Maintained by Marc KupietzCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Leibniz Institute for the German Language

A client package that makes the 'KorAP' web service API accessible from R. The corpus analysis platform 'KorAP' has been developed as a scientific tool to make potentially large, stratified and multiply annotated corpora, such as the 'German Reference Corpus DeReKo' or the 'Corpus of the Contemporary Romanian Language CoRoLa', accessible for linguists to let them verify hypotheses and to find interesting patterns in real language use. The 'RKorAPClient' package provides access to 'KorAP' and the corpora behind it for user-created R code, as a programmatic alternative to the 'KorAP' web user-interface. You can learn more about 'KorAP' and use it directly on 'DeReKo' at https://korap.ids-mannheim.de/.

Changes in 1.4.1
  • **follows the DeReKo-KorAP-2026-II release** of the German Reference Corpus, the default corpus of the default KorAP instance, which replaced the textClass metadata field by dmozDomain and wikiDomain. corpusQuery() now fetches both by default, so that the topic domain of matches is available again (#31).
  • **long running searches are no longer aborted after 10 minutes**. The underlying curl library gave up on transfers delivering less than one byte per second for 600 seconds, which is just what a search does while the server is still counting, regardless of the timeout of the connection. Only that timeout applies now
  • **failed and incomplete searches are reported**: corpusQuery() and frequencyQuery() now warn when a request failed or when the KorAP server cut a search short (timeExceeded), instead of silently reporting 0 or too few hits. Their data frame results carry the new queryDuration column, the time in seconds a request took on the client side
  • **clearer verbose output**: a series of queries or virtual corpora is logged as an aligned table, one row per item with its hits or tokens, the time it took and whether it came from the cache, followed by a one-line summary. A virtual corpus definition shared by all rows is named once in the header, e.g. textType = /Zeit.*/ & pubDate in …, and the rows show only what varies. The estimated remaining time no longer counts the query just finished as pending, which made it about twice too long in the beginning, and ignores cached queries. Numbers beyond 2^31, e.g. the token count of the whole of DeReKo, are no longer printed as NA, and no colour codes are written where the output does not go to a terminal or the RStudio console, e.g. to a log file

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-05
  • NOTE11 OK, 2 NOTE2026-08-25
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-08-20
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-06-07
  • ERROR12 OK, 1 ERROR2026-05-30
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.1
READMENoVignettesNoNEWSYes · 100% structured · mentions 1.4.1Citation fileYes · cites a publicationWebsiteYes
Help pages
40 (15 internal)includes a package overview page
Examples that run
5%1 run in a plain check · 21 never run
Exported functions with examples
58%
Documented parameters
85%
Return-value docs
83%
Help pages citing references
10%

Also includes 20 demo scripts (run with demo())

Downloads

3.9K
CRAN downloads in the past year
Rank #6,568 · ~11/day · ~327/mo
Daily download trend is not available in this view yet.
54530 days
1.3K90 days
3.9K1 year
Compare downloads with other packages →
Also on103 r2u4 autocran

Repository

10Stars
4Forks
4Open issues
0Open PRs
13Releases
665Commits
7Commit identities
665 commits · Last activity 2026-10-18 · 0% stars, 30d · Default branch at 1.4.1.9000, ahead of CRAN 1.4.1 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-25 · 102026-07-07 · 10
PracticesBeta

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

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

Continuous integration (3)
GitHub ActionsR CMD check workflowGitLab CI

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

Docs source (1)

GitHub Pages site last deployed 2021-11-21

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-06-19
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
    Commits: at least 59 crediting it in the message
  • Codexfirst seen 2026-05-01
    Named in .Rbuildignore: .codex
    Named in .gitignore: .codex
  • Gemini CLIfirst seen on or before 2026-07-18
    Config: a file or ignore line, not recorded which
Models named in its commits
  • Claude Opus 550 commits · Aug to Sep 2026
  • Claude Opus 5.58 commits · Sep to Oct 2026
  • Claude Sonnet 51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
33 external dependencies (excludes base and recommended)

Installing RKorAPClient adds 81 packages (47 with compiled code, 66 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.5.6 (2020)
Contributor
Releases (19)

Pick two releases to compare their code metrics.

Show 13 earlier eventsHide 13 earlier events
  • unarchivedReturned to CRAN
    2022-09-07
  • 0.7.5
    record
    2022-09-07 · diff ↗ ·
    added 2 exports
    KorAPConnection, KorAPQuery
  • archivedRemoved from CRAN
    2022-08-12
    email to the maintainer is undeliverable
  • R
    R 4.2.0 released · 2022-04-22
  • 0.7.2
    record
    2022-03-01 · diff ↗
  • 0.7.1
    record
    2021-09-21 · diff ↗ ·
    added 2 exports
    buildWebUIRequestUrl, synsemanticStopwords
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.1
    record
    2021-03-12 · diff ↗ ·
    removed 1 export
    ggplotly
    added 7 exports
    defaultAssociationScoreFunctions, hc_add_onclick_korap_search, ll, logDice, mi2, mi3, pmi
  • 0.5.9
    record
    2020-06-08 · diff ↗ ·
    added 1 export
    n
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.7
    record
    2020-03-17 · diff ↗
  • 0.5.6
    record
    2020-03-13
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-03-13
Total releases
19 / 6 yrs
License
BSD_2_clause + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
410 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("RKorAPClient")

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

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 RKorAPClient version 1.4.1 [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