Learn R Programming

WikipediR (version 1.7.1)

query: base query function

Description

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

Usage

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.