Skip to content

Commit

Permalink
Add mapping of "Rode ibis"
Browse files Browse the repository at this point in the history
  • Loading branch information
damianooldoni committed Jan 6, 2025
1 parent 1eafdab commit 1ce581a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sql/dwc_occurrence.sql
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ SELECT
WHEN o."Sporen Waarnemingen Naam" = '11 amerikaanse rivierkree' THEN 'Procambarus'
WHEN o."Sporen Waarnemingen Naam" = 'Amerikaanse rivierkree 10' THEN 'Procambarus'
WHEN o."Sporen Waarnemingen Naam" = 'Amerikaanse rivierkreek' THEN 'Procambarus'
WHEN o."Sporen Waarnemingen Naam" = 'Rode ibis' THEN 'Eudocimus ruber'
ELSE NULL
END AS scientificName,
CASE
Expand Down
3 changes: 2 additions & 1 deletion tests/test_dwc_occurrence.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ testthat::test_that("scientificName is never NA and one of the list", {
"Houttuynia cordata",
"Mimulus guttatus DC.",
"Procambarus",
"Pistia stratiotes"
"Pistia stratiotes",
"Eudocimus ruber"
)
testthat::expect_true(all(!is.na(dwc_occurrence$scientificName)))
testthat::expect_true(all(dwc_occurrence$scientificName %in% species))
Expand Down

0 comments on commit 1ce581a

Please sign in to comment.