Learn R Programming

wikkitidy (version 0.1.14)

new_list_query: Constructor for list queries

Description

This low-level constructor only performs basic type checking.

Usage

new_list_query(.req, list, ...)

# S3 method for list new_list_query(.req, list, ...)

# S3 method for generator new_list_query(.req, list, ...)

# S3 method for prop new_list_query(.req, list, ...)

# S3 method for query new_list_query(.req, list, ...)

Value

An object of type list/query/action_api/httr2_request.

Arguments

.req

A query/action_api/httr2_request object, or a list/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

Run this code
# Create a query to list all members of Category:Physics
physics_query <- wiki_action_request() %>%
  new_list_query("categorymembers", cmtitle="Category:Physics")

Run the code above in your browser using DataLab