pkgdown/analytics.html

Skip to contents

Creates visualizations for a GeoLocator Data Package, including coverage plots showing data availability across time for different sensors and tags.

Usage

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

Arguments

x

A GeoLocator Data Package object.

type

Type of the plot to display. Currently only "coverage" is supported.

...

Additional parameters passed to plotting functions.

Value

a plot, ggplotly or leaflet object.

Examples

pkg <- read_zenodo("17367319")
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
#> ℹ Retrieve Zenodo record 17367319
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
#> ✔ Retrieve Zenodo record 17367319 [1.9s]
#> 
#> ℹ Download files from Zenodo
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
#> ✔ Download files from Zenodo [6.6s]
#> 
#> ℹ Read and upgrade GeoLocator-DP
#> ✔ Upgrading GeoLocator-DP from "main" to "v1.1".
#> ℹ Read and upgrade GeoLocator-DP

#> ✔ Read and upgrade GeoLocator-DP [520ms]
#> 
#> ℹ Add metadata
#> ✔ Add metadata [105ms]
#> 

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


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


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