Skip to contents

wikkitidy (development version)

wikkitidy 0.1.13

CRAN release: 2024-08-17

  • New gracefully() 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.

wikkitidy 0.1.12

CRAN release: 2024-02-09

  • tidyr moved from Imports to Suggests
  • Automatic unnesting, introduced in 0.1.8, removed. It was causing bugs in certain edge cases, when nested data frames duplicated columns from the enclosing data frame. Unnesting is now left to the user, as shown in the examples.

wikkitidy 0.1.11

CRAN release: 2023-10-20

  • Live API calls removed from test suite on CRAN; these are still tested in the package’s CI pipeline.
  • Fixed failing test due to Wikimedia server error

wikkitidy 0.1.10

CRAN release: 2023-10-06

  • First release
  • Documentation errors removed

wikkitidy 0.1.9

  • Release candidate
  • Updated documentation

wikkitidy 0.1.8

  • Fixed perform_query() bug again, to deal with results that return nothing for the given query for given pages
  • Fewer queries return nested data frames now

wikkitidy 0.1.7

wikkitidy 0.1.6

  • “endpoint” parameter of get_rest_resource() renamed to “api”
  • New xtools_page() functions, allowing programmatic access to statistics about pages’ edit histories, links and quality markers
  • get_rest_resource() now supports a ‘quiet’ failure mode, where 4xx and 5xx errors quietly return no data. Currently implemented for the xtools_page() functions

wikkitidy 0.1.5

  • The functions that perform queries to the Action API have been rewritten. There is now a family of three functions: next_result(), next_batch() and retrieve_all().
  • Improvements to the formatting of results. Raw list columns are replaced with lists of tibbles, to enable easy navigation of the results using tidyr::unnest().

wikkitidy 0.1.4

wikkitidy 0.1.3

wikkitidy 0.1.2

wikkitidy 0.1.1

  • Better parsing of response values. All functions will now return a simple vector, tbl_df, or a list of tbl_dfs, with the exception of the Action API Query modules, whose response object has been renamed query_tbl() for clarity

wikkitidy 0.1.0

  • Underlying interface to the three main APIs: core_rest_request(), wiki_action_request() and wikimedia_rest_request()
  • First few vector functions for getting page-level data
  • First few helper functions to build more complex Action API requests
  • First few data types for response values
  • Added a NEWS.md file to track changes to the package.
  • New low-level helper, get_rest_resource(), for generating REST API calls; refactored existing calls to use this function
  • REST requests now accept query parameters
  • New family of page_vector_functions to retrieve data about a vector of page titles, e.g. get_latest_revision()