location_tags: Get top tags for a location

Description Usage Arguments Details Value See Also Examples

View source: R/location_tags.R

Description

Takes user defined location and returns the top tags related to the location. Uses the flickr.places.tagsForPlace API method from the Flickr API. See https://www.flickr.com/services/api/flickr.places.tagsForPlace.html for more information on the API method.

Usage

1
location_tags(woe_id)

Arguments

woe_id

numeric. a "Where on Earth" location tag.

Details

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. List of the top 100 tags associated with the woe_id.

See Also

Other Information about places: findPlaces

Examples

1
2
3
4
## Not run: 
location_tags(woe_id = 35356)

## End(Not run)

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