Learn R Programming

FlickrAPI (version 0.1.0.0)

getPhotoInfo: Download Flickr Photo Data

Description

R access to photo information of photos posted on flickr via flickr API interface

Usage

getPhotoInfo(api_key, photo_id, output = c("Location", "Date", "URL",
  "Tags"))

Arguments

api_key

Your API application key

photo_id

The id of the photo to get information for

output

Output data type. It depends on what you are interested in. You have to choose from Location, Date, URL or Tags.

Value

This function returns data of specific photo's information.

Examples

Run this code
# NOT RUN {
  getPhotoInfo(api_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", photo_id="30484882493", 
               output="location")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab