new_list_query {wikkitidy} | R Documentation |
Constructor for list queries
Description
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 |
list |
The list module to add to the query |
... |
< |
Value
An object of type list/query/action_api/httr2_request
.
Examples
# Create a query to list all members of Category:Physics
physics_query <- wiki_action_request() %>%
new_list_query("categorymembers", cmtitle="Category:Physics")
[Package wikkitidy version 0.1.12 Index]