pf_view_photos: View photos of pets

Description Usage Arguments Value Examples

View source: R/pf_view_photos.R

Description

View the photos of searched pets in a slideshow format.

Usage

1
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

 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)

earl88/PetFindr documentation built on Jan. 18, 2020, 9:10 a.m.