ShowMe: Display a combination of strata, transect design, and data

View source: R/plots.R

ShowMeR Documentation

Display a combination of strata, transect design, and data

Description

ShowMe will take input layers of strata, transect design, and data and display them using Leaflet.

Usage

ShowMe(
  strata.path,
  transect.path,
  data.path,
  species = "all",
  bounds = NA,
  bounds.which = NA
)

Arguments

strata.path

The path name to the .shp file of the stratification. Must be in a format accepted by SplitDesign.

transect.path

The path name to the .shp file of lines designating the transect design. Must be in a format accepted by SplitDesign.

data.path

The path name(s) to the data file(s). At minimum, data file must have columns Observer, Species, Obs_Type, Num, and Transect.

species

The species code(s) to be displayed. Acceptable values are those in sppntable.

Details

ShowMe is designed to take a directory path for a combination of stratification base layer, aerial transect design, and resulting data and display it using an interactive Leaflet map. Data can be more than one file, and can be filtered to a single species or group of species. Clicking on strata will bring up the STRATNAME field associated with the click. Clicking on a transect will display the associated strata identification, transect numbering, recalculated (SPLIT) transect number (see SplitDesign), and length in kilometers. Clicking an observation will display the observer initials, species code, observation type, number of the type observed, and the transect number reported by the pilot or observer.

Value

None

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/USFWS/AKaerial

Examples

 ShowMe(strata.path="C:/Habitat.shp", transect.path="My2016Transects.shp", data.path="My2016obs.csv", species=c("SPEI", "STEI"))


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.