Update corpusStats example
Change-Id: I5e43f3329f8e93366259255a22d6d505c40041a3
diff --git a/man/corpusStats-KorAPConnection-method.Rd b/man/corpusStats-KorAPConnection-method.Rd
index 417c377..24f6fa0 100644
--- a/man/corpusStats-KorAPConnection-method.Rd
+++ b/man/corpusStats-KorAPConnection-method.Rd
@@ -23,11 +23,9 @@
Fetch information about a (virtual) corpus
}
\examples{
-\dontrun{
-corpusStats(new("KorAPConnection"))
+\donttest{corpusStats(new("KorAPConnection"))}
-new("KorAPConnection") \%>\%
- corpusStats("pubDate in 2017 & textType=/Zeit.*/")
-}
+kco <- new("KorAPConnection")
+corpusStats(kco, "pubDate in 2017 & articleType=/Zeitung.*/")
}