GithubHelp home page GithubHelp logo

Comments (5)

niconoe avatar niconoe commented on July 29, 2024

Data extraction module now support this metric. Sample report output:

{
  "8137b32e-f762-11e1-a439-00145eb45e9a": {
    "NUMBER_OF_RECORDS": 756426,
    "BASISOFRECORDS": {
      "UNKNOWN": 6,
      "OBSERVATION": 11660,
      "PRESERVED_SPECIMEN": 744760
    },
    "TAXON_MATCHES": {
      "TAXON_MATCH_HIGHERRANK": 63987,
      "TAXON_MATCH_FUZZY": 17272,
      "TAXON_MATCH_COMPLETE": 607443,
      "TAXON_NOT_PROVIDED": 67724
    }
  }
}

(I took the freedom to make the constants uppercase for the sake of consistency).

from gbif-dataset-metrics.

bartaelterman avatar bartaelterman commented on July 29, 2024

@niconoe I think we're missing TAXON_MATCH_NONE for records that have a taxon, but it could not be matched. At least there is a column taxon_match_none in the cartodb table created by @peterdesmet .

from gbif-dataset-metrics.

bartaelterman avatar bartaelterman commented on July 29, 2024

test data is written to cartodb. Only taxon_match_none is still missing. All values for that column are set to 0.

from gbif-dataset-metrics.

niconoe avatar niconoe commented on July 29, 2024

Well, I just had a quick look and it seems the code support it, but that most records that trigger this issue at GBIF have no scientificName at all: http://www.gbif.org/occurrence/search?ISSUE=TAXON_MATCH_NONE

As I blindly implemented Peter's algorithm above, I think we will return TAXON_NOT_PROVIDED for those (unlike GBIF services, this algorithm will put each row in a sigle category... Is that desirable?). And the data extractor (so far) doesn't return TAXON_MATCH_* counters at all if they don't have corresponding record.

Should Peter's algorithm be changed ? Would you like that the report contains TAXON_MATCH_NONE: 0 (instead of nothing) ?

Thx !

from gbif-dataset-metrics.

bartaelterman avatar bartaelterman commented on July 29, 2024

Ok, no then everything is fine. The aggregator fills in zeros for tags that are not found, so there is no need to add that to the extractor.

from gbif-dataset-metrics.

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.