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(), ...)
url
: a URL bodyout_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.