Description Usage Arguments Value Granularity and dates License See Also Examples
Number of active editors. Caution: This metric measures editors' activity, therefore it includes edits on redirects.
1 2 3 4 5 6 7 8 9 | wx_active_editors(
project,
editor_type = c("all", "anonymous", "user", "bot", "bot group"),
page_type = c("all", "content", "non-content"),
activity_level = c("all", "1-4", "5-24", "25-99", "100+"),
granularity = c("daily", "monthly"),
start_date = "20191101",
end_date = "20191231"
)
|
project |
The name of any Wikimedia project formatted like
|
editor_type |
If you want to filter by editor-type, use one of "anonymous", "group-bot" (registered accounts belonging to the bot group), "name-bot" (registered accounts not belonging to the bot group but having bot-like names) or "user" (registered account not in bot group nor having bot-like name). If you are interested in edits regardless of their editor type, use "all-editor-types" (default). |
page_type |
If you want to filter by page-type, use one of: "content" (edits made in content namespaces) or "non-content" (edits made in non-content namespaces). If you are interested in editors regardless of their page type, use "all" (default). |
activity_level |
If you want to filter by activity-level (number of edits), use one of: "1-4", "5-24", "25-99", or "100+" edits. If you are interested in editors regardless of their activity-level, use "all" (default). |
granularity |
The time unit for the response data. As of today, supported values are daily (default) and monthly. |
start_date |
The date of the first day to include, in YYYYMMDD format.
Can also be a |
end_date |
The date of the last day to include, in YYYYMMDD format.
Can also be a |
A tibble data frame with columns
project
project
date
Date
; beginning of the month if granularity = "monthly"
editors
Number of active editors
For "monthly" granularity
, the start_date
and end_date
need to contain
the full month.
For example, start_date = "20191101"
and
end_date = "20191231"
would only give the monthly total for 2019-11. To
include 2019-12, use end_date = "20200101"
.
Frustratingly, start_date = "20191201"
and end_date = "20191231"
does
not yield 2019-12 monthly total. Use end_date = "20200101"
for that.
Data retrieved from the API endpoint is available under the CC0 1.0 license.
wikitech:Analytics/AQS/Wikistats 2
Other data & metrics on users:
wx_newly_registered_users()
,
wx_top_editors()
1 2 3 4 5 6 7 8 9 | wx_active_editors(
"commons.wikimedia",
editor_type = "bot",
page_type = "content",
activity_level = "100+",
granularity = "monthly",
start_date = "20200101",
end_date = "20200301"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.