View source: R/map_tracks_odkc.R
map_tracks_odkc | R Documentation |
Map tracks directly from ODK data
map_tracks_odkc( tracks, sites = NULL, wastd_url = wastdr::get_wastd_url(), fmt = "%d/%m/%Y %H:%M", tz = "Australia/Perth", cluster = FALSE, ts = FALSE )
tracks |
The output of |
sites |
An sf object of sites with |
wastd_url |
The base URL for WAStD, default: |
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. |
ts |
Whether to render the data as additional timeseries (warning: slow) |
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 Track or Nest 1.0".
A leaflet map
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_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()
## Not run: data("odkc_data") map_tracks_odkc(odkc_data$tracks, sites = odkc_data$sites, cluster = TRUE) map_tracks_odkc(odkc_data$tracks, sites = odkc_data$sites, cluster = FALSE) map_tracks_odkc(odkc_data$tracks, sites = NULL, cluster = TRUE) map_tracks_odkc(odkc_data$tracks, sites = NULL, cluster = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.