powered by
Fetch information about a (virtual) corpus
# S4 method for KorAPConnection corpusStats(kco, vc = "", verbose = kco@verbose, as.df = FALSE)
KorAPCorpusStats object with the slots documents, tokens, sentences, paragraphs
KorAPCorpusStats
documents
tokens
sentences
paragraphs
KorAPConnection() object (obtained e.g. from new("KorAPConnection")
KorAPConnection()
new("KorAPConnection")
string describing the virtual corpus. An empty string (default) means the whole corpus, as far as it is license-wise accessible.
logical. If TRUE, additional diagnostics are printed.
TRUE
return result as data frame instead of as S4 object?
if (FALSE) { kco <- new("KorAPConnection") corpusStats(kco, "pubDate in 2017 & textType=/Zeitung.*/") }
Run the code above in your browser using DataLab