gu_editions: Editions

Description Usage Arguments Value Examples

Description

The different main pages of the Guardian. As of January 2019 they are the United Kingdom ("uk"), the United States ("us"), Australia ("au") and an International ("international") front page.

Usage

1
2
gu_editions(query = NULL, ..., verbose = TRUE, tidy = TRUE,
  tidy_style = "snake_case")

Arguments

query

A string, which will return editions based on that string. Defaults to NULL and returns all editions. Strings are not case sensitive.

...

Pass additional options to API. There are no additional options as of this writing. See the endpoint docs

verbose

Prints messages to console. Defaults to TRUE.

tidy

Convert variable names to snake_case, remove some "<NA>" strings. Defaults to TRUE.

tidy_style

Style to variable names with.

Value

A tibble with details of the given edition.

Examples

1
2
3
4
## Not run: 
uk <- gu_editions(query = "uk")

## End(Not run)

guardianapi documentation built on June 24, 2019, 1:02 a.m.