Skip to contents

Find the WoeID and other location data for a given place

Usage

find_place(place)

Arguments

place

character. The place for the query

Value

data.frame. Information on locations that share the name with the search location. Nine variables are returned: place_id, woe_id, latitude, longitude, place_url, place_type, place_type_id, timezone, woe_name.

Details

Takes user defined location and returns location data for the search. Uses the flickr.places.find API method from the Flickr API. See https://www.flickr.com/services/api/flickr.places.find.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.

See also

Other Information about places: location_tags()

Examples

if (FALSE) {
find_place(place = "New York")

find_place(place = "England")
}