Description Usage Arguments Value Examples
View source: R/flickrpeoplegetphotos.R
An R implementation of
flickr.people.getPhotos
from the Flickr API. Searches for photos based on
user-defined criteria. Some parameters (extras
) allow passing of R objects
that are converted to the text input needed by the API.
1 2 3 |
api_key |
your personal API key from flickr |
user_id |
The ID of the user who's photos to return. A value of "me" will return the calling user's photos. |
extras |
character vector of potential extra fields returned. By default ('geo,tags') returns the geotag information (latitude, longitude, etc) and the photo's tags (keywords). Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o |
.allpages |
Pass |
.usecache |
Pass |
... |
Key/value pairs as defined in
the
API documentation. |
A data.frame
of photo information.
1 2 | user_id = "141233693@N02"
flickr.people.getPhotos(api_key,user_id = user_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.