gu_editions {guardianapi}R Documentation

Editions

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

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

## Not run: 
uk <- gu_editions(query = "uk")

## End(Not run)


[Package guardianapi version 0.1.1 Index]