Add fetchAnnotations method to KorAPQuery
Resolves #26
Change-Id: Ie6234e471216941148304d42cf70c7cc509ceb41
diff --git a/man/corpusQuery-KorAPConnection-method.Rd b/man/corpusQuery-KorAPConnection-method.Rd
index 1b0dd83..eb826a7 100644
--- a/man/corpusQuery-KorAPConnection-method.Rd
+++ b/man/corpusQuery-KorAPConnection-method.Rd
@@ -141,6 +141,7 @@
Other corpus search functions:
\code{\link{fetchAll,KorAPQuery-method}},
+\code{\link{fetchAnnotations,KorAPQuery-method}},
\code{\link{fetchNext,KorAPQuery-method}}
}
\concept{corpus search functions}
diff --git a/man/fetchAll-KorAPQuery-method.Rd b/man/fetchAll-KorAPQuery-method.Rd
index 195bd93..a31898a 100644
--- a/man/fetchAll-KorAPQuery-method.Rd
+++ b/man/fetchAll-KorAPQuery-method.Rd
@@ -48,6 +48,7 @@
\seealso{
Other corpus search functions:
\code{\link{corpusQuery,KorAPConnection-method}},
+\code{\link{fetchAnnotations,KorAPQuery-method}},
\code{\link{fetchNext,KorAPQuery-method}}
}
\concept{corpus search functions}
diff --git a/man/fetchNext-KorAPQuery-method.Rd b/man/fetchNext-KorAPQuery-method.Rd
index 204af00..2b1f309 100644
--- a/man/fetchNext-KorAPQuery-method.Rd
+++ b/man/fetchNext-KorAPQuery-method.Rd
@@ -46,6 +46,7 @@
\seealso{
Other corpus search functions:
\code{\link{corpusQuery,KorAPConnection-method}},
-\code{\link{fetchAll,KorAPQuery-method}}
+\code{\link{fetchAll,KorAPQuery-method}},
+\code{\link{fetchAnnotations,KorAPQuery-method}}
}
\concept{corpus search functions}
diff --git a/man/initialize-KorAPQuery-method.Rd b/man/initialize-KorAPQuery-method.Rd
index beb44ad..0815bea 100644
--- a/man/initialize-KorAPQuery-method.Rd
+++ b/man/initialize-KorAPQuery-method.Rd
@@ -17,7 +17,8 @@
webUIRequestUrl = "",
apiResponse = NULL,
hasMoreMatches = FALSE,
- collectedMatches = NULL
+ collectedMatches = NULL,
+ annotations = NULL
)
}
\arguments{
@@ -44,6 +45,8 @@
\item{hasMoreMatches}{logical that signals if more query results can be fetched}
\item{collectedMatches}{matches already fetched from the KorAP-API-server}
+
+\item{annotations}{list of annotation data for collected matches}
}
\description{
Initialize KorAPQuery object