Skip to content

Commit

Permalink
Merge pull request #190 from riparias/map-occurrencestatus
Browse files Browse the repository at this point in the history
Map extra terms to occurrenceStatus, default to "Present" instead of empty string
  • Loading branch information
PietrH authored Jun 21, 2024
2 parents afbe083 + a9e7cd0 commit 5c72064
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/dwc_mapping.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ input_data <-
waarneming_type == "Beverdam vastgesteld (aantal)" |
waarneming_type == "Primair nest" |
waarneming_type == "Primair nest vastgesteld" |
waarneming_type == "Embryonest vastgesteld"
waarneming_type == "Embryonest vastgesteld" |
waarneming_type == "Embryonest"
~ "present",
Expand All @@ -224,12 +225,14 @@ input_data <-
waarneming_type == "Andere soort dan AH" |
waarneming_type == "Geen waarneming gedaan" |
waarneming_type == "Geen Aziatische hoornaar" |
waarneming_type == "Geen nest vastgesteld"
waarneming_type == "Geen nest vastgesteld" |
waarneming_type == "Nest is al bestreden door derden" |
waarneming_type == "Andere soort dan AH"
~ "absent",
waarneming_type == "Waarneming onzeker" ~ "doubtful",
TRUE ~ ""
TRUE ~ "present"
))
```

Expand Down

0 comments on commit 5c72064

Please sign in to comment.