query function

base query function

base query function

not designed to be used by anyone except a third-party reuser package, such as WikidataR

query(url, out_class, clean_response = FALSE, query_param = list(), ...)

Arguments

  • url: a URL body
  • out_class: the class to set on the output object; used within WikidataR to indicate what response-cleaning method should be applied.
  • clean_response: whether to clean the response, using the method assigned by out_class, or not.
  • query_param: query parameters
  • ...: further arguments to httr's GET.
  • Maintainer: Os Keyes
  • License: MIT + file LICENSE
  • Last published: 2024-04-05