Usage
project_pageviews(project = "en.wikipedia", platform = "all",
user_type = "all", granularity = "daily", start = "2015100100",
end = NULL, reformat = TRUE, ...)
Arguments
project
the name of the project, structured as [language_code].[project]
(see the default).
platform
The platform the pageviews came from; one of "all", "desktop", "mobile-web" and
"mobile-app". Set to "all" by default.
user_type
the type of users. One of "all", "user", "spider" or "bot". "all" by default.
granularity
the granularity of data to return; do you want hourly or daily counts? Set
to "daily" by default.
start
the start YYYYMMDDHH
of the range you want to cover.
end
the end YYYYMMDDHH
of the range you want to cover. NULL by default, meaning
that it returns 1 day/hour of data (depending on the value passed to granularity
).
reformat
Whether to reformat the results as a data.frame
or not. TRUE by default. ...
further arguments to pass to httr's GET.