Number of edited pages for a given project and timespan.
wx_edited_pages( 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 = "20200101" )
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 pages 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 the following columns:
project
project
date
Date
edited_pages
Number of pages which have been edited
Data retrieved from the API endpoint is available under the CC0 1.0 license.
Other content data & metrics:
wx_mediareqs_file()
,
wx_mediareqs_referer()
,
wx_most_requested_files()
,
wx_new_pages()
,
wx_page_edits()
,
wx_project_edits()
,
wx_top_edited_pages()
,
wx_total_pages()
# Monthly edited pages on Hindi Wikipedia: wx_edited_pages("hi.wikipedia", page_type = "content", granularity = "monthly")#> # A tibble: 2 x 3 #> project date edited_pages #> <chr> <date> <int> #> 1 hi.wikipedia 2019-11-01 5366 #> 2 hi.wikipedia 2019-12-01 5217