Skip to content

Commit

Permalink
feat: new popup in at sea
Browse files Browse the repository at this point in the history
issue #153
  • Loading branch information
PMHLambert committed May 4, 2023
1 parent 6ddf3bf commit c390588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 2 additions & 1 deletion R/mod_a_first_fct_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ data_ocean <- function(ices_geom,
filter(ices_type == spatial_type) %>%
inner_join(
dataALL %>%
select(-c(icesname, division_name)) %>%
filter(latin_name == species_latin_name),
by = c("ices_type", "gid")
) %>%
Expand Down Expand Up @@ -45,7 +46,7 @@ tm_ocean <- function(dataOcean,
"[10, 12]",
"[13, 15]"
),
popup.vars = c("prevalence: " = "nb_occurence")
popup.vars = c('in division:' = 'division_name', 'prevalence:' = 'nb_occurence')
)
}

Expand Down
13 changes: 1 addition & 12 deletions data-raw/bb-page1-catch-bycatch.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for (i in species$species_id) {
cli::cat_rule(i)
print(
get_conservation_status(
6,
i,
con
)
)
Expand Down Expand Up @@ -84,17 +84,6 @@ tm_draw(
session = session
)
tm_draw(
species_latin_name = "Salmo trutta",
spatial_type = "division",
con = con,
dataCatchment = datasets$dataCatchment,
catchment_geom = datasets$catchment_geom,
dataALL = datasets$dataALL,
ices_geom = datasets$ices_geom,
session = session
)
tm_draw(
species_latin_name = "Chelon ramada",
spatial_type = "rectangle",
Expand Down

0 comments on commit c390588

Please sign in to comment.