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.

pf_list_breeds(token, type = NULL)

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

# NOT RUN {
pf_list_breeds(token, type = "dog")
pf_list_breeds(token, type = "barnyard")
# }