pf_view_photos.Rd
View the photos of searched pets in a slideshow format.
pf_view_photos(animal_df, size = c("small", "medium", "large", "full"))
animal_df | A data frame of animal search results from |
---|---|
size | The desired size of the animal photos to be shown. One of "small", "medium", "large", or "full". |
A slideshow of animal pictures
# 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) # }