map_tt_odkc: Map Turtle Tagging 3.0 parsed with ruODK from ODK Central.

View source: R/map_tt_odkc.R

map_tt_odkcR Documentation

Map Turtle Tagging 3.0 parsed with ruODK from ODK Central.

Description

\lifecycle

maturing

Usage

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

Arguments

data

The output of odkc_data$tt from ODK form Turtle Tagging 3.0.

sites

An sf object of sites with site_name and polygon geom, e.g. turtleviewer::turtledata$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.

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.

This map function uses data from ODK Central / ruODK using form "Turtle Tagging 3.0".

Value

A leaflet map

See Also

Other odkc: add_hatching_emergence_success_odkc(), add_nest_labels_odkc(), download_odkc_turtledata_2020(), exclude_training_species_odkc(), filter_odkc_turtledata(), general_disturbance_by_season_odkc(), hatching_emergence_success_odkc(), map_dist_odkc(), map_mwi_odkc(), map_sv_odkc(), map_tracks_odkc(), nest_disturbance_by_season_odkc(), nesting_type_by_area_season_age_species_odkc(), nesting_type_by_area_season_species_odkc(), nesting_type_by_season_age_species_odkc(), nesting_type_by_season_calendarday_age_species_odkc(), nesting_type_by_season_calendarday_species_odkc(), nesting_type_by_season_day_species_odkc(), nesting_type_by_season_species_odkc(), nesting_type_by_season_week_age_species_odkc(), nesting_type_by_season_week_site_species_odkc(), nesting_type_by_season_week_species_odkc(), nesting_type_by_site_season_age_species_odkc(), nesting_type_by_site_season_species_odkc()

Examples

## Not run: 
data("odkc_data")
map_tt_odkc(odkc_data$tt, sites = odkc_data$sites)
map_tt_odkc(data = NULL, sites = odkc_data$sites)

## End(Not run)

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