View the photos of searched pets in a slideshow format.

pf_view_photos(animal_df, size = c("small", "medium", "large", "full"))

Arguments

animal_df

A data frame of animal search results from pf_find_pets.

size

The desired size of the animal photos to be shown. One of "small", "medium", "large", or "full".

Value

A slideshow of animal pictures

Examples

# NOT RUN {
  puppies <- pf_find_pets(token, type = "dog", age = "baby", breed = "corgi")
  pf_view_photos(animal_df = puppies, size = "small")

  bunnies <- pf_find_pets(token, type = "rabbit", age = "baby", limit = 10)
  pf_view_photos(animal_df = bunnies, size = "full")

  birds<- pf_find_pets(token, type= "Bird")
  pf_view_photos(birds)
# }