- project
the name of the project, structured as [language_code].[project]
(see the default).
- article
the article(s) you want to retrieve data for. Ideally features underscores in the title
instead of spaces, but happily converts if you forget to do this.
- platform
The platform the pageviews came from; One or more of "all", "desktop", "mobile-web" and
"mobile-app". Set to "all" by default.
- user_type
the type of users. One or more of "all", "user", "spider" or "bot". "all" by default.
- start
the start YYYYMMDDHH
of the range you want to cover. This can be
easily grabbed from R date/time objects using pageview_timestamps
.
- end
the end YYYYMMDDHH
of the range you want to cover. NULL by default, meaning
that it returns 1 day of data.
- reformat
Whether to reformat the results as a data.frame
or not. TRUE by default.
- granularity
the granularity of data to return; "daily" or "monthly", depending on
whether pageview data should reflect trends in days or months.
- ...
further arguments to pass to httr's GET.