pkgdown/analytics.html Skip to contents

Creates visualizations for a GeoLocator Data Package: the data availability across time for each sensor and tag, the observation history of each ring, or a map of the most likely paths.

Usage

# S3 method for class 'geolocatordp'
plot(x, type = NULL, ...)

Arguments

x

A GeoLocator Data Package object.

type

Type of the plot to display: "coverage" (requires measurements, and draws observations when present), "ring" (requires observations, measurements and tags) or "map" (requires paths and staps). When NULL, the first type the package supports is used.

...

Unused, for compatibility with the plot() generic.

Value

A ggplot2 object for "coverage" and "ring", a leaflet map for "map".

Examples

if (FALSE) { # \dontrun{
pkg <- read_zenodo("17367319")

# Plot data coverage
plot(pkg, type = "coverage")

# Plot observation history by ring
plot(pkg, type = "ring")

# Plot map view (requires leaflet)
plot(pkg, type = "map")
} # }