query: base query function

Description Usage Arguments

Description

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

Usage

1
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.


WikipediR documentation built on May 2, 2019, 2:18 p.m.