Nothing
failure_mode
parameter to get_history_count()
and page_vector_functions
get_rest_resource()
so that the number of output rows is guaranteed to be the same as the number of input rows. Now if a request fails, a new column is added to the output error_code
, with the http response code.get_page_related()
due to deprecation of API endpointwikkitidy
now depends on R 4.1, due to use of the native pipewikimedia_rest_request
tests, due to deprecationgracefully()
function added to allow graceful failure of http requests, as per CRAN policy. All API calls to Wikipedia query modules are now wrapped in gracefully()
in the examples.tidyr
moved from Imports to Suggestsperform_query()
bug again, to deal with results that return nothing for the given query for given pagesperform_query()
would fail if only a single property was requested from an API:Properties module (i.e. using new_prop_query()
or query_page_properties()
)get_rest_resource()
renamed to "api"xtools_page()
functions, allowing programmatic access to statistics about pages' edit histories, links and quality markersget_rest_resource()
now supports a 'quiet' failure mode, where 4xx and 5xx errors quietly return no data. Currently implemented for the xtools_page()
functionsnext_result()
, next_batch()
and retrieve_all()
.tidyr::unnest()
.build_category_tree()
: recur through category system to build up graph of subcategories and pagesquery_category_members()
: the first of a set of new helper functions to provide user-friendly access to the Action API.query_list_of
renamed to query_list_pages()
query_by_title
, query_by_pageid()
and query_by_revid()
to build new kinds of Action API queriesnew_prop_query()
, new_generator_query()
and new_list_query()
get_history_count()
: find out how many times a page has been editedget_diff()
response datapage_vector_functions()
response data. Most functions now return a tbl or list of tblswikimedia_rest_apis()
next_batch()
query_tbl()
for claritycore_rest_request()
, wiki_action_request()
and wikimedia_rest_request()
NEWS.md
file to track changes to the package.get_rest_resource()
, for generating REST API calls; refactored existing calls to use this functionpage_vector_functions
to retrieve data about a vector of page titles, e.g. get_latest_revision()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.