map_mwi: Map Marine Wildlife Incident 0.6

View source: R/map_mwi.R

map_mwiR Documentation

Map Marine Wildlife Incident 0.6

Description

\lifecycle

maturing

Usage

map_mwi(
  data,
  sites = NULL,
  wastd_url = wastdr::get_wastd_url(),
  fmt = "%Y-%m-%d %H:%M",
  tz = "Australia/Perth",
  cluster = FALSE,
  split_species = FALSE
)

Arguments

data

AnimalEncounters from WAStD.

sites

An sf object of sites with site_name and polygon geom, e.g. wastdr::wastd_data$sites.

wastd_url

The base URL for WAStD, default: get_wastd_url()

fmt

The desired date format, default: "d/m/Y H:M"

tz

The lubridate timezone, default: "Australia/Perth

cluster

If TRUE, cluster map markers. Default: FALSE. Note: In some places, the aerial background layer does not provide imagery at sufficient zoom levels, and therefore restricts the map zoom at levels where the cluster markers don't expand. Switch to "Place names" to let cluster markers expand.

split_species

Whether to split data by species or taxon, default: TRUE (split by species)

Details

Creates a Leaflet map with an interactive legend offering to toggle each species separately. The maps auto-zooms to the extent of data given.

Value

A leaflet map

See Also

Other wastd: add_nest_labels(), disturbance_by_season(), filter_alive(), filter_dead(), filter_disturbance(), filter_predation(), ggplot_disturbance_by_season(), ggplot_emergence_success(), ggplot_hatching_success(), ggplot_hatchling_misorientation(), ggplot_nesting_success_per_area_season_species_pct(), ggplot_nesting_success_per_area_season_species(), ggplot_sighting_status_per_area_season_species(), ggplot_total_emergences_per_area_season_species(), ggplot_track_success_by_date(), ggplot_track_successrate_by_date(), hatching_emergence_success_area(), hatching_emergence_success_site(), hatching_emergence_success(), map_dist(), map_fanangles(), map_nests(), map_tracks(), map_wastd_wamtram_sites(), map_wastd(), nesting_success_per_area_day_species(), nesting_success_per_area_season_species(), nesting_type_by_area_season_age_species(), nesting_type_by_area_season_species(), nesting_type_by_season_age_species(), nesting_type_by_season_calendarday_age_species(), nesting_type_by_season_calendarday_species(), nesting_type_by_season_day_species(), nesting_type_by_season_species(), nesting_type_by_season_week_age_species(), nesting_type_by_season_week_site_species(), nesting_type_by_season_week_species(), nesting_type_by_site_season_age_species(), nesting_type_by_site_season_species(), parse_animal_encounters(), parse_area_sf(), parse_area(), parse_encounterobservations(), parse_surveys(), parse_turtle_nest_encounters(), print.wastd_api_response(), sighting_status_per_area_season_species(), sighting_status_per_site_season_species(), summarise_hatching_and_emergence_success(), summarise_wastd_data_per_day_site(), total_emergences_per_area_season_species(), total_emergences_per_site_season_species(), track_success_by_species(), track_success(), tracks_ts()


parksandwildlife/wastdr documentation built on Nov. 17, 2022, 4:52 p.m.