make_map | R Documentation |
Create an interactive html map of animal locations.
make_map(x, lon_col = lon, lat_col = lat, id_col, dt_col)
x |
A data frame containing collar data with latitude and longitude columns |
lon_col |
name of the longitude column |
lat_col |
name of the latitude column |
id_col |
name of the ID column that signals the individual identifier |
dt_col |
name of the date/time column |
A leaflet map.
## Not run:
collardata %>%
filter_last_loc() %>%
make_map()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.