Display animal locations

pf_map_locations(token, animal_df)

Arguments

token

An access token, provided by pf_accesstoken(key, secret).

animal_df

A data frame of animal information output from pf_find_pets().

Value

A leaflet map of the locations of animals provided.

Examples

# NOT RUN {
pups <- pf_find_pets(token, type = "dog", breed = "corgi", location = "50014", distance = "150")
pf_map_locations(token, pups)
# }