Description Usage Arguments Value See Also Examples
This function uses the Flickr API to get metadata about the images
| 1 | photosSearch(year_range, text, bbox = NULL, woe_id = NULL, has_geo = TRUE)
 | 
| year_range | The year to search between (inclusive). For example c(2005,2007) will search for images from 2005, 2006 and 2007 | 
| text | Set keywords so that query returns pictures with the text (e.g. "bird") | 
| bbox | A vector of 4 values defining the Bounding Box of the area that will be searched. The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude. | 
| woe_id | A 32-bit identifier that uniquely represents spatial entities (e.g. 12578048 is Scotland). These ids can be found using the  | 
| has_geo | Logical, should the function only return records that have spatial data. | 
A dataframe of metadata
findPlaces
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # run a workflow, using the logistic regression model
## Not run: 
# Authenticate the first time you run a search
#auth.flickr()
birds <- photosSearch(year_range = c(2005,2006),
                      text = "mute+swan",
                      woe_id =  12578048,
                      has_geo = TRUE)
head(birds)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.