Description Usage Arguments Value References options Examples
All the tags used on the Guardian website. See the API docs on this endpoint for more details.
1 2 3 |
query |
A string, which will return all tags containing that string. |
tag_type |
One of " |
section |
Return only tags of a given section. |
references |
Return only tags with those references |
reference_type |
Return only tags with those reference types. |
show_references |
Show associated reference data such as ISBNs.
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. |
A tibble with details on tags.
The following are the options for the show_references
parameter:
"all
" Includes all the fields (default)
"author
"
"bisac-prefix
"
"esa-cricket-match
"
"esa-football-match
"
"esa-football-team
"
"esa-football-tournament
"
"isbn
"
"imdb
"
"musicbrainz
"
"musicbrainzgenre
"
"opta-cricket-match
"
"opta-football-match
"
"opta-football-team
"
"opta-football-tournament
"
"pa-football-competition
"
"pa-football-match
"
"pa-football-team
"
"r1-film
"
"reuters-index-ric
"
"reuters-stock-ric
"
"witness-assignment
"
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Return all tags containing "apple"
apple1 <- gu_tags(query = "apple")
# Return all tags containing "apple" in the technology section
apple2 <- gu_tags(query = "apple", section = "technology")
# Return all contributor tags in the life and style section
tag_sec_type <- gu_tags(section = "lifeandstyle", tag_type = "contributor")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.