Description Usage Arguments Value Examples
View source: R/pf_view_photos.R
View the photos of searched pets in a slideshow format.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 | ## 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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.