Coder Social home page Coder Social logo

Comments (5)

peterdesmet avatar peterdesmet commented on June 24, 2024 1

I would say: querying from GBIF.

from occ-cube-alien.

damianooldoni avatar damianooldoni commented on June 24, 2024

@peterdesmet: For step 1, filtering on alien species
should we filter by downloading the unified checklist from GBIF or by using the GitHub version from https://github.com/trias-project/unified-checklist? Using GBIF checklist would make workflow more repeatable worldwide.

from occ-cube-alien.

damianooldoni avatar damianooldoni commented on June 24, 2024

Here below how I get three data cubes, one for each of the three filters mentioned above.

  1. For alien taxa where rank = SPECIES and taxonomicStatus one of ACCEPTED or DOUBTFUL:
year eea_cell_code speciesKey n
1792 1kmE3865N3144 2769766 1

Occurrences referring to species synonyms, subspecies/varieties and their synonyms are automatically included.

  1. For alien taxa where rank below SPECIES and taxonomicStatus one of ACCEPTED or DOUBTFUL:
year eea_cell_code acceptedTaxonKey n
2018 1kmE4012N3120 6411098 3

Occurrences referring to synonyms have been included in the query, that means searching occurrences where acceptedTaxonKey is one of nubKey from unified checklist. Contrarely to name data, in occurrence data the field acceptedTaxonKey is always present and it is equal to taxonKey in case of not synonyms (see issue in gbif checklistbank repo).

  1. For alien taxa where taxonomicStatus is NOT one of ACCEPTED or DOUBTFUL, i.e. synonyms:
year eea_cell_code taxonKey n
1940 1kmE3927N3130 3022668 1

Occurrences where taxonKey is one of nubKey from unified checklist.

Question

How to call the column name containing speciesKey/acceptedTaxonKey/taxonKey?

Possible solution

My suggestion is to use column name taxonKey:

year eea_cell_code taxonKey n
1792 1kmE3865N3144 2769766 1
2018 1kmE4012N3120 6411098 3
1940 1kmE3927N3130 3022668 1

@peterdesmet: what do you think?

from occ-cube-alien.

damianooldoni avatar damianooldoni commented on June 24, 2024

Discussed with @peterdesmet : we use taxonKey.

from occ-cube-alien.

damianooldoni avatar damianooldoni commented on June 24, 2024

Done. Documentation about structure and workflow added in README.md of the repo. Issue can be closed or left for informative reasons.

from occ-cube-alien.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.