query: base query function

View source: R/query.R

queryR Documentation

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.


Ironholds/WikipediR documentation built on April 6, 2024, 8:45 p.m.