Skip to content

Commit

Permalink
remove unknown species
Browse files Browse the repository at this point in the history
  • Loading branch information
vcameron1 committed Feb 22, 2024
1 parent ec3cb44 commit 294a5c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hist_biodiv.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ title: "Histoire de biodiversité"
# Load data
SPI_OCC <- read.csv("results/SPI_OCC.csv")
SPI_OCC <- SPI_OCC[SPI_OCC$SPECIES != "Information masquée",]
SPI_OCC_2023 <- SPI_OCC[SPI_OCC$YEAR == 2023,]
SPI_RANGES <- read.csv("results/SPI_ranges.csv")
SPI_RANGES <- SPI_RANGES[SPI_RANGES$SPECIES != "Information masquée",]
SPI_RANGES_2023 <- SPI_RANGES[SPI_RANGES$YEAR == 2023,]
```
Expand Down
2 changes: 2 additions & 0 deletions scr/data_n_figures_visual.r
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ aires_latlon$POPINFOS <- paste0(

# SPI <- read.csv("./results/RANGES/SPI.csv")
SPI <- read.csv("./results/SPI_ranges.csv")
# Remove unknown species
SPI <- SPI[SPI$SPECIES != "Information masquée", ]
# error in species names
SPI$SPECIES[SPI$SPECIES == "Lyn rufus"] <- "Lynx rufus"
species <- as.character(unique(SPI$SPECIES))
Expand Down

0 comments on commit 294a5c9

Please sign in to comment.