[Maturing]

map_wastd(
  x,
  map_animals = TRUE,
  map_tracks = TRUE,
  map_dist = TRUE,
  map_sites = TRUE,
  wastd_url = wastdr::get_wastd_url(),
  fmt = "%Y-%m-%d %H:%M",
  tz = "Australia/Perth",
  cluster = FALSE
)

Arguments

x

An object of S3 class wastd_data, e.g. the output of wastdr::download_wastd_turtledata(), optionally filtered to a locality by wastdr::filter_wastd_turtledata(area_name="Thevenard Island").

map_animals

Whether to map animals (AnimalEncounters), default: TRUE

map_tracks

Whether to map tracks (TurtleNestEncounters), default: TRUE

map_dist

Whether to map nest and general disturbances (Encounters with TurtleNestDisturbanceObservation), default: TRUE

map_sites

Whether to map Sites, default: TRUE

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.

Value

A leaflet map

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.

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_mwi(), map_nests(), map_tracks(), map_wastd_wamtram_sites(), 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()

Examples

data(wastd_data)
map_wastd(wastd_data)