powered by
Fetch information about a (virtual) corpus
# S4 method for KorAPConnection corpusStats(kco, vc = "", verbose = kco@verbose, as.df = FALSE)
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?
KorAPCorpusStats object with the slots documents, tokens, sentences, paragraphs
KorAPCorpusStats
documents
tokens
sentences
paragraphs
# NOT RUN { corpusStats(new("KorAPConnection")) # } # NOT RUN { kco <- new("KorAPConnection") corpusStats(kco, "pubDate in 2017 & articleType=/Zeitung.*/") # }
Run the code above in your browser using DataLab