AquaMaps

functions specific to the AquaMaps.org dataset

get_am_cell_blocks_grd()

AquaMaps cell raster contained by BOEM blocks

get_am_cell_zones_grd()

AquaMaps cell raster contained by OffHab zones

WoRMS

functions specific to WoRMS (World Registry of Marine Species) at MarineSpecies.org

wm_add_aphia_id()

Match taxa to WoRMS aphia_id and update database

wm_rest()

Query WoRMS REST API with multiple requests

Visualize

functions for visualizing data

get_colors()

Get Colors

oh_add_ply()

Add polygons to map

oh_map()

Setup interactive map with OffHab defaults

oh_map_cog()

Map Cloud-Optimized GeoTIFF

oh_map_cog_lyr()

Map Cloud-Optimize TIFF OffHab layer

oh_map_cog_sp()

Map Cloud-Optimize TIFF OffHab Species

oh_map_zone_score_dev()

Map score as deviation from average in zone with blocks

Database

functions specific to databases

am_pg_con()

Connect to AquaMaps Postgres database

create_index()

Create index in database

oh_con()

Connect to OffHab database

oh_pg_con()

Connect to OffHab Postgres database

rl_pg_con()

Connect to IUCN RedList Postgres database

Raster

functions for handling rasters, especially of reference cells

drop_na_lyrs()

Drop raster layers without any data

oh_rast()

OffHab reference raster

write_rast()

Write compact raster with compression, tiles and sparse encoding

Google Cloud Storage

functions for work with Google Cloud Storage (used to load data into Google Earth Engine)

gcs_to_gee()

Load into Google Earth Engine from Google Cloud Storage

upload_to_gcs()

Upload to Google Cloud Storage

Data

available datasets

am_cell_blocks

AquaMaps cell polygons intersecting OffHab zones and BOEM blocks

am_cell_zones

AquaMaps cell polygons intersecting OffHab zones

oa_regions

OceanAdapt regions for bottom trawl data

oh_blocks

BOEM Wind Energy Area Block polygons

oh_colors

OffHab colors

oh_study_v1

Offshore Habitat study area (version 1)

oh_zones

Offshore Habitat Zone polygons

oh_zones_s1k

Offshore Habitat Zone polygons, simplified to 1 km

wm_rest_params

Lookup table for maximum requests per WoRMS REST API used by wm_rest()

Report

utility functions for generating reports in various formats (html, docx, pdf)

dt_color_fld()

Colorize field in a datatable

link_caption()

Add extra link to caption

oh_tbl_zone_score_dev()

Tabulate Blocks with Score as deviation from average in zone

Other

check for other functions or datasets not captured by above categories