Description Usage Arguments Details Value See Also Examples
Find the WoeID and other location data for a given place
1 | find_place(place)
|
place |
character. The place for the query |
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.
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.
Other Information about places: location_tags
1 2 3 4 5 6 | ## Not run:
find_place(place = "New York")
find_place(place = "England")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.