related_tags: Get related tags

Description Usage Arguments Details Value Examples

View source: R/related_tags.R

Description

Takes a tag and returns the top tags related to that tag.

Usage

1

Arguments

tag

character. tag to search.

Details

Uses the flickr.tags.getRelated API method from the Flickr API. See https://www.flickr.com/services/api/flickr.tags.getRelated.html for more information on the API method.

When running the function you need an API key saved as photosearcher_key.sysdata in your working directory. If this is the first function you run you will be prompted to create and enter your API key. The API key will then be saved as photosearcher_key.sysdata in your working directory and is used for all function.

Value

character. Tags most associated with input tag.

Examples

1
2
3
4
5
6
7
8
## Not run: 
related_tags(tag = "car")

related_tags(tag = "monkey")

related_tags(tag = "river")

## End(Not run)

nfox29/photosearcher documentation built on April 27, 2020, 10:34 p.m.