From db58c7ca9648574d263b851b210bdb8464d340ad Mon Sep 17 00:00:00 2001 From: Marcus Becker Date: Wed, 20 Dec 2023 17:19:38 -0700 Subject: [PATCH] occurrence maps --- bookdown/01_Data-Collection.Rmd | 13 +- bookdown/README.md | 14 +- bookdown/_book/404.html | 108 +- bookdown/_book/blocks.html | 22 +- bookdown/_book/data-collection.html | 240 +- bookdown/_book/estimating-density.html | 22 +- bookdown/_book/footnotes-and-citations.html | 22 +- bookdown/_book/index.html | 126 +- .../libs/htmlwidgets-1.6.2/htmlwidgets.js | 901 ++++++ .../libs/leaflet-binding-2.1.2/leaflet.js | 2785 +++++++++++++++++ .../leaflet-providers-plugin.js | 3 + bookdown/_book/references.html | 22 +- bookdown/_book/search_index.json | 2 +- bookdown/_book/sharing-your-book.html | 22 +- bookdown/_bookdown.yml | 2 +- bookdown/_output.yml | 4 +- bookdown/index.Rmd | 8 +- 17 files changed, 3872 insertions(+), 444 deletions(-) create mode 100644 bookdown/_book/libs/htmlwidgets-1.6.2/htmlwidgets.js create mode 100644 bookdown/_book/libs/leaflet-binding-2.1.2/leaflet.js create mode 100644 bookdown/_book/libs/leaflet-providers-plugin-2.1.2/leaflet-providers-plugin.js diff --git a/bookdown/01_Data-Collection.Rmd b/bookdown/01_Data-Collection.Rmd index 1c5de77..e40271c 100644 --- a/bookdown/01_Data-Collection.Rmd +++ b/bookdown/01_Data-Collection.Rmd @@ -14,6 +14,8 @@ The ABMI's remote camera deployment protocols can be accessed here: [Terrestrial The following camera projects have been deployed by the ABMI: +Organize by year? Use gt package? + Note - would be nice to have a link to the WildTrax project for those projects that are published. ```{r, echo = FALSE, eval = TRUE, message = FALSE, warning = FALSE} @@ -108,7 +110,7 @@ shared_ss <- SharedData$new(occ_subset) # Palette pal <- colorFactor(palette = c("grey80", "gold", - "darkred"), + "black"), domain = occ_subset$present) # Create leaflet map @@ -136,18 +138,19 @@ map <- sf_ab |> ```{r, out.width="100%", fig.height=10, eval = TRUE, echo = FALSE, warning = FALSE, message = FALSE} # Create interactive filters -bscols(widths = c(4, 3), - filter_select("common_name", "Species", shared_ss, ~common_name, multiple = FALSE, selected = "Moose"), - filter_select("year", "Sampling Year", shared_ss, ~year, multiple = TRUE)) +bscols(widths = c(3, 3), + filter_checkbox("year", "Sampling Year:", shared_ss, ~year, columns = 2), + filter_select("common_name", "Species:", shared_ss, ~common_name, multiple = FALSE, selected = "Badger")) # Display map map ``` + ## Deployment duration lengths -Here we can include all those figures. Yay. +Here we can include all those figures. Yay. Do we really want that? diff --git a/bookdown/README.md b/bookdown/README.md index 217c365..4d0f7b8 100644 --- a/bookdown/README.md +++ b/bookdown/README.md @@ -1,13 +1 @@ -Welcome! - -This is a minimal example of a book based on R Markdown and **bookdown** (https://github.com/rstudio/bookdown). - -This template provides a skeleton file structure that you can edit to create your book. - -The contents inside the .Rmd files provide some pointers to help you get started, but feel free to also delete the content in each file and start fresh. - -Additional resources: - -The **bookdown** book: https://bookdown.org/yihui/bookdown/ - -The **bookdown** package reference site: https://pkgs.rstudio.com/bookdown +Using remote camera trap images to estimate densities and develop habitat models for mammals in Alberta, Canada diff --git a/bookdown/_book/404.html b/bookdown/_book/404.html index 7ced1c4..a07aecf 100644 --- a/bookdown/_book/404.html +++ b/bookdown/_book/404.html @@ -5,31 +5,25 @@ Page not found | Using remote camera trap images to estimate densities and develop habitat models for mammals in Alberta, Canada - + - - + + - + - + @@ -58,22 +52,22 @@ - - + + - + - + - + @@ -82,70 +76,6 @@ -