pf_list_breeds: List available breeds for a given animal type

Description Usage Arguments Value Examples

View source: R/pf_list_breeds.R

Description

This function allows the user to specify an animal type found on Petfinder.com and returns a vector containing all available breeds for that animal type.

Usage

1

Arguments

token

An access token, provided by pf_accesstoken.

type

One of the available animal types for which to return breed information. A full list of animal types can be found by running pf_list_types.

Value

A character vector containing the breed names for the specified animal type.

Examples

1
2
3
4
5
## Not run: 
pf_list_breeds(token, type = "dog")
pf_list_breeds(token, type = "barnyard")

## End(Not run)

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