Skip to content

Commit

Permalink
Add outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Sep 10, 2021
1 parent 6dc2ea7 commit 6e0e019
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions scripts/bul_bul_cm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and place the zipfile into the "./data/raw/bul_bul_downloads/" - folder

```{r libraries, include=FALSE}
library(devtools)
install_github("trias-project/trias", ref = "73_climate_matching_function")
install_github("trias-project/trias", ref = "73_climate_matching_function", force = TRUE)
library(leaflet)
library(tidyverse)
library(trias)
Expand Down Expand Up @@ -54,13 +54,24 @@ per soort
3. Future Europe

```{r species_maps}
#Worldwide
p_jocosus_map_world <- output$single_species_maps$`2486151` %>%
leaflet::setView(lat = 0, lng = 0, zoom = 2)
p_cafer_map_world <- output$single_species_maps$`2486131` %>%
leaflet::setView(lat = 0, lng = 0, zoom = 2)
#Europe
zoomlevel <- 3.5
p_jocosus_map <- output$single_species_maps$`2486151` %>%
p_jocosus_map_europe <- output$single_species_maps$`2486151` %>%
leaflet::setView(lat = 51, lng = 15, zoom = zoomlevel)
p_cafer_map <- output$single_species_maps$`2486131` %>%
p_cafer_map_europe <- output$single_species_maps$`2486131` %>%
leaflet::setView(lat = 51, lng = 15, zoom = zoomlevel)
```

```{r data}
europe_cm <- output$cm
```

0 comments on commit 6e0e019

Please sign in to comment.