flickr.people.getPhotos: Search flickr for particular user's photos

Description Usage Arguments Value Examples

View source: R/flickrpeoplegetphotos.R

Description

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.

Usage

1
2
3
flickr.people.getPhotos(api_key, user_id = NULL, extras = c("geo", "tags",
  "date_taken", "url_m"), output = "metadata", .allpages = FALSE,
  .usecache = TRUE, ...)

Arguments

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 TRUE to return all pages of results (by default only 100 ish results are returned).

.usecache

Pass FALSE to not use cached results.

...

Key/value pairs as defined in the API documentation. text="my search query" is particularly useful.

Value

A data.frame of photo information.

Examples

1
2
user_id = "141233693@N02"
flickr.people.getPhotos(api_key,user_id = user_id)

remi-daigle/flickRgeotag documentation built on July 14, 2020, 8:37 a.m.