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 [728ms]
#> 
#>  Download files from Zenodo
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
#>  Download files from Zenodo [2.2s]
#> 
#>  Read and upgrade GeoLocator-DP
#>  Upgrading GeoLocator-DP from "main" to "v1.0".
#>  Read and upgrade GeoLocator-DP

#>  Read and upgrade GeoLocator-DP [526ms]
#> 
#>  Add metadata
#>  Add metadata [263ms]
#> 

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


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


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