Use workaround for MATOMO bug with users by country
Resolves
https://gitlab.ids-mannheim.de/tfnd/IDS-Nutzungsdatenreport/-/issues/14
Change-Id: I72015a50d145fd503b69523ba0f770ddd66e421f
diff --git a/man/matomoQuery.Rd b/man/matomoQuery.Rd
index babfb50..79bc676 100644
--- a/man/matomoQuery.Rd
+++ b/man/matomoQuery.Rd
@@ -13,7 +13,8 @@
removeFirst = FALSE,
removeLast = FALSE,
accessToken = getAccessToken(matomoUrl),
- getMethod = "VisitsSummary.get"
+ getMethod = "VisitsSummary.get",
+ ignoreEmptyResult = FALSE
)
}
\arguments{
@@ -36,6 +37,8 @@
and pass it here, or you can make it persistent with \code{\link{persistAccessToken}}.}
\item{getMethod}{API method to call – default: VisitsSummary.get}
+
+\item{ignoreEmptyResult}{if FALSE stop with error message on empty list results, otherwise return empty list}
}
\value{
Data frame with visits summary as returned by matomo. Note that the \code{date} column in the returned data frame refers to the first day of the respective period.