map_sv_odkc: Map Site Visit Start and End from ODK Central data over WAStD...

View source: R/map_sitevisit.R

map_sv_odkcR Documentation

Map Site Visit Start and End from ODK Central data over WAStD Sites.

Description

\lifecycle

maturing

Usage

map_sv_odkc(
  svs,
  sve,
  sites,
  wastd_url = wastdr::get_wastd_url(),
  fmt = "%d/%m/%Y %H:%M",
  tz = "Australia/Perth",
  cluster = FALSE
)

Arguments

svs

The output of turtleviewer::turtledata$svs - data from ODK form Site Visit Start 0.3.

sve

The output of turtleviewer::turtledata$sve - data from ODK form Site Visit End 0.2.

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 of site visit start and end points. The maps auto-zooms to the extent of data given.

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_tracks_odkc(), map_tt_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_sv_odkc(odkc_data$svs, odkc_data$sve, sites = odkc_data$sites)

## End(Not run)

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