-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
description: "Select a Sanctuary or Draw a polygon to filter to 1/2º AquaMaps species and view as Table or treemap Plot for interactive taxonomic composition." | ||
image: "../figures/explorations/am-sanct.png" | ||
url: "https://shiny.marinebon.app/am-sanct/" | ||
url-code: "https://github.com/marinebon/aquamapsduckdb/tree/main/inst/app" | ||
categories: | ||
- "data: AquaMaps" | ||
- "tech: DuckDB" | ||
- "tech: R" | ||
- "tech: Shiny" | ||
editor: source | ||
--- | ||
|
||
# AquaMaps Treemap {.unnumbered} | ||
|
||
```{r} | ||
#| echo: false | ||
#| warning: false | ||
library(rmarkdown) | ||
descr <- metadata[["description"]] | ||
img <- metadata[["image"]] | ||
url_web <- metadata[["url"]] | ||
url_code <- metadata[["url-code"]] | ||
``` | ||
|
||
`r descr` | ||
|
||
- [{{< fa globe >}} website](`r url_web`) | ||
|
||
- [{{< fa brands github >}} `code`](`r url_code`) | ||
|
||
![](`r img`) | ||
|
||
This app uses [`aquamapsdata`](https://raquamaps.github.io/aquamapsdata/articles/intro.html) after translating from `sqlite` (slow) and `raster` (deprecated) R functions to `duckdb` (fast) and `terra` (superceding) R functions. We can use these distributional data to calculate place-based indicators with anticipation of the distributional data getting improved upon in 2024 by AquaX and others. |