Skip to content

biodiversity-aq/H3Diversitymap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Quarto Document for H3 Diversity Plotting

This Quarto document and accompanying R script provide a reproducible workflow for visualizing species diversity using H3 hexagonal cells. It processes species occurrence data from a CSV file, calculates various diversity metrics, and generates a map in either an interactive HTML or a static PNG format.


Features

  • Flexible Input: Reads species occurrence data from a specified CSV file (longitude, latitude and species should be present).

  • H3 Hexagon Integration: Utilizes the H3 geospatial indexing system to discretize the map into hexagons of a chosen resolution.

  • Multiple Diversity Metrics: Calculates and plots a range of diversity indices, including species richness, Shannon diversity, Simpson diversity, and Hill numbers.

Two Output Options:

  • Interactive HTML: Creates a dynamic, zoomable map using leaflet with OpenStreetMap base layer. Ideal for web-based sharing.

  • Static PNG: Generates a high-resolution image using ggplot2, suitable for publications or presentations.

Customizable Map Backgrounds: For PNG output, you can choose between an OpenStreetMap base layer or country borders.

H3Hexagons_res5 7_richness

More info:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors