Skip to contents

Read

Functions for reading data.

Analyze

Functions for calculating indicators.

calc_indicators()
Calculate Biodiversity Indicators, including ES50 (Hurlbert index)

H3 grid & tiles

Build an H3 grid, and serve indicators as H3 hexagon tiles.

make_hex_res()
Make hexagon feature
build_obis_h3_duckdb()
Build the OBIS H3 DuckDB store
obis_h3t_sql()
Build an h3t tile SQL query for an OBIS biodiversity indicator
obis_h3t_url()
Assemble an h3t tile (or stats) URL for an OBIS indicator

Visualize

Functions for visualizing indicators.

gmap_indicator()
Statically map indicators using ggplot

Data

Locally available datasets for running examples.

occ_1960s
OBIS occurrences, temporal sample for the 1960s, limited to 1M records
occ_1970s
OBIS occurrences, temporal sample for the 1970s, limited to 1M records
occ_1980s
OBIS occurrences, temporal sample for the 1980s, limited to 1M records
occ_1990s
OBIS occurrences, temporal sample for the 1990s, limited to 1M records
occ_1M
OBIS occurrences, global sample of 1 million records
occ_2000s
OBIS occurrences, temporal sample for the 2000s, limited to 1M records
occ_2010s
OBIS occurrences, temporal sample for the 2010s, limited to 1M records
occ_SAtlantic
OBIS occurrences, South Atlantic full regional sample
occ_fk
OBIS occurrences, Florida Keys full regional sample