gu_section {guardianapi} | R Documentation |
Sections
Description
Returns details on the sections and subsections used to organise content.
See the API docs for full details on the query options available for the sections endpoint.
Usage
gu_section(query = NULL, ..., verbose = TRUE, tidy = TRUE,
tidy_style = "snake_case")
Arguments
query |
A string, containing the search query. Defaults to |
... |
Use to pass any other parameters to the API. See the docs for a full list of options. |
verbose |
Prints messages to console. Defaults to |
tidy |
Convert variable names to snake_case, remove some |
tidy_style |
Style to variable names with. |
Examples
## Not run:
business <- gu_section(query = "business")
foot_pol <- gu_section(query = c("politics", "business", "football"))
## End(Not run)
[Package guardianapi version 0.1.1 Index]