Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check to highlight species on GRIIS missing from be_alientaxa_cube #214

Open
SanderDevisscher opened this issue Jul 9, 2024 · 21 comments · May be fixed by #230
Open

Add check to highlight species on GRIIS missing from be_alientaxa_cube #214

SanderDevisscher opened this issue Jul 9, 2024 · 21 comments · May be fixed by #230
Assignees

Comments

@SanderDevisscher
Copy link
Collaborator

Updating be_alientaxa_cube on Zenodo is a manual operation this creates a possible issue with species not being included in be_alientaxa_cube while they are on the GRIIS checklist. This prompts us to create a workflow to check if there are species missing from
the be_alientaxa_cube. This workflow should be triggered when be_alientaxa_cube is changed on uat.

@soriadelva
Copy link
Contributor

@SanderDevisscher the test has been made but atm it flags 903 taxonkeys as present on the GRIIS checklist and not in the be_alientaxa_cube. Not sure what to do with this 😅. Upon closer inspection, these species are indeed included on the GRIIS Belgium checklist but don't always have occurrence record data that are linked to them. Yet, other species do and are still not included in the cube.

@soriadelva
Copy link
Contributor

@SanderDevisscher the test has been made but atm it flags 903 taxonkeys as present on the GRIIS checklist and not in the be_alientaxa_cube. Not sure what to do with this 😅. Upon closer inspection, these species are indeed included on the GRIIS Belgium checklist but don't always have occurrence record data that are linked to them. Yet, other species do and are still not included in the cube.

By including only species last observed after 1950, 637 remain

@SanderDevisscher
Copy link
Collaborator Author

@soriadelva Is filtering on kingdom an option ? maybe only look at animalia & plantae ?

@soriadelva
Copy link
Contributor

soriadelva commented Jul 16, 2024

@soriadelva Is filtering on kingdom an option ? maybe only look at animalia & plantae ?

Yes it's an option, that leaves 611

@SanderDevisscher
Copy link
Collaborator Author

@soriadelva still 611 ??

@SanderDevisscher
Copy link
Collaborator Author

can you built in a test to see if the remaining species lack data on gbif (in belgium)? maybe try using rgbif::occ_search(limit=0)$meta$count

@soriadelva
Copy link
Contributor

@soriadelva still 611 ??

Yes

@soriadelva
Copy link
Contributor

can you built in a test to see if the remaining species lack data on gbif (in belgium)? maybe try using rgbif::occ_search(limit=0)$meta$count

Will do 👍

@soriadelva
Copy link
Contributor

rgbif::occ_search(limit=0)$meta$count

When I check if they have occurrences in general and filter those out that haven't, still 601 remain. I'll try for Belgium.

@soriadelva
Copy link
Contributor

rgbif::occ_search(limit=0)$meta$count

When I check if they have occurrences in general and filter those out that haven't, still 601 remain. I'll try for Belgium.

202 left

@SanderDevisscher
Copy link
Collaborator Author

can you provide me the list ?

@soriadelva
Copy link
Contributor

species_not_in_cube.txt

La voilà. Je kunt ook altijd de test al eens runnen op de branch 😉.

@soriadelva
Copy link
Contributor

A quick check shows that there are only a few with a lot of occurrences (>200) in Belgium.
Rplot

@soriadelva
Copy link
Contributor

The vast majority has only few observations in BE:
Rplot03

@SanderDevisscher
Copy link
Collaborator Author

SanderDevisscher commented Jul 17, 2024 via email

@soriadelva
Copy link
Contributor

soriadelva commented Jul 17, 2024

Maybe exclude preserved specimens (basis of record if i'm not mistaken)

After I filtered out preserved specimens and species with only 1 occurrence in Belgium, there are 78 left

@SanderDevisscher
Copy link
Collaborator Author

I can live with that 😄

@soriadelva
Copy link
Contributor

Do we know the rationale about when species are included in the cube, otherwise I can add that to the test.

@SanderDevisscher
Copy link
Collaborator Author

@soriadelva
Copy link
Contributor

I had a look but will need a bit more time to completely grasp what is happening in the aggregate.Rmd file to understand the whole rationale behind the inclusion of the taxa in the cube. I'll pick this up later when there is more time but for now I'll have to put this on hold.

@SanderDevisscher
Copy link
Collaborator Author

I had a look but will need a bit more time to completely grasp what is happening in the aggregate.Rmd file to understand the whole rationale behind the inclusion of the taxa in the cube. I'll pick this up later when there is more time but for now I'll have to put this on hold.

Ok, I suggest we PR the current check & improve it when we have more time to look into it with more detail

@FaunabeheerenInvasieveSoorten FaunabeheerenInvasieveSoorten linked a pull request Aug 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants