This low-level constructor only performs basic type checking.
Usage
new_list_query(.req, list, ...)
# S3 method for class 'list'
new_list_query(.req, list, ...)
# S3 method for class 'generator'
new_list_query(.req, list, ...)
# S3 method for class 'prop'
new_list_query(.req, list, ...)
# S3 method for class 'query'
new_list_query(.req, list, ...)
Arguments
- .req
A
query/action_api/httr2_request
object, or alist/query/action_api/httr2_request
as returned by this function.- list
The list module to add to the query
- ...
<
dynamic-dots
> Parameters to the list module
Examples
# Create a query to list all members of Category:Physics
physics_query <- wiki_action_request() %>%
new_list_query("categorymembers", cmtitle="Category:Physics")