Skip to content

Add iNaruralist ID columns #1012

@hyanwong

Description

@hyanwong

We should add:

*iNat IDs to the ORDERED_LEAVES and ORDERED_NODES tables (i.e. in the same way as NCBI . These are are integers that act as stable record identifiers (may become superseded)

  • Add inat, onezoom_via_inat, and onezoom_via_wiki, fields to the src_flags field in OZtree/models/_OZglobals.py. We probably want to reorder the numbers (and change those in the database records / in the images folder) to have:
{
  'bespoke':1,
  'onezoom_bespoke':2,
  'onezoom_via_inat':3,
  'onezoom_via_wiki':4,
  'onezoom_via_eol':5,  # was 3, needs data updating
  'iucn':7,  # was 4, not used
  'arkive':8, # was 5, not used
  'inat':10,
  'wiki':20,
   'eol': 30,
   'short_imprecise_name':50,
   'eol_old':99
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions