pf_map_locations: Display animal locations

Description Usage Arguments Value Examples

View source: R/pf_map_locations.R

Description

Display animal locations

Usage

1
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

1
2
3
4
5
## Not run: 
pups <- pf_find_pets(token, type = "dog", breed = "corgi", location = "50014", distance = "150")
pf_map_locations(token, pups)

## End(Not run)

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