Learn R Programming

RKorAPClient (version 1.1.0)

'KorAP' Web Service Client Package

Description

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 .

Copy Link

Version

Install

install.packages('RKorAPClient')

Monthly Downloads

405

Version

1.1.0

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marc Kupietz

Last Published

June 26th, 2025

Functions in RKorAPClient (1.1.0)

fetchAll,KorAPQuery-method

Fetch all results of a KorAP query.
hc_add_onclick_korap_search

Add KorAP search click events to highchart plots
initialize,KorAPConnection-method

Initialize KorAPConnection object
fetchRest,KorAPQuery-method

Fetches the remaining results of a KorAP query.
hc_freq_by_year_ci

Plot interactive frequency curves with confidence intervals
format_eta_display

Format ETA information for display
format_duration

Format duration in seconds to human-readable format
ci

Add confidence interval and relative frequency variables
collocationScoreQuery,KorAPConnection-method

Query frequencies of a node and a collocate and calculate collocation association scores
mergeDuplicateCollocates

Merge duplicate collocate rows and re-calculate association scores and URLs. Useful if collocation analyses were performed separately for collocates on the left and right side of a node.
initialize,KorAPQuery-method

Initialize KorAPQuery object
synsemanticStopwords

Preliminary synsemantic stopwords function
textMetadata,KorAPConnection-method

Retrieve metadata for a text, identified by its sigle (id)
persistAccessToken,KorAPConnection-method

Persist current access token in keyring
corpusQuery,KorAPConnection-method

Search corpus for query terms
frequencyQuery,KorAPConnection-method

Query frequencies of search expressions in virtual corpora
log_info

Logging utilities for RKorAPClient
get_cache_indicator

Get cache indicator string
reexports

Objects exported from other packages
show,KorAPConnection-method

Display KorAPConnection object
clearAccessToken,KorAPConnection-method

Clear access token from keyring and KorAPConnection object
auth,KorAPConnection-method

Authorize RKorAPClient
calculate_sophisticated_eta

Calculate sophisticated ETA using median of recent non-cached times
association-score-functions

Association score functions
KorAPConnection-class

Connect to KorAP Server
corpusStats,KorAPConnection-method

Get corpus size and statistics
fetchNext,KorAPQuery-method

Fetch the next bunch of results of a KorAP query.
KorAPQuery-class

KorAPQuery class (internal)
apiCall,KorAPConnection-method

Internal API call method
KorAPCorpusStats-class

KorAPCorpusStats class (internal)
RKorAPClient-package

R Client for KorAP Corpus Analysis Platform
calculate_eta

Calculate and format ETA for batch operations
collocationAnalysis,KorAPConnection-method

Collocation analysis
clearCache,KorAPConnection-method

Clear local cache