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

Feature request: Table of diversity indices with index properties #889

Open
vmikk opened this issue Oct 30, 2023 · 4 comments
Open

Feature request: Table of diversity indices with index properties #889

vmikk opened this issue Oct 30, 2023 · 4 comments
Assignees
Milestone

Comments

@vmikk
Copy link

vmikk commented Oct 30, 2023

It would be beneficial to introduce a (machine-readable) table or list of diversity indices supported by Biodiverse, detailing the properties of each index, to assist in automatically selecting appropriate visualization color schemes.

The table may show:

  • Name of the index (as in Wiki:Indices)
  • Properties of the index values:
    • Fixed range: Values that are constrained within a specific range (e.g., 0-1, as with SIMPSON_D);
    • Only non-negative: Values that can be 0 or positive (e.g., RICHNESS_ALL);
    • Unbounded range: Values that can stretch from negative to positive infinity (like SES values).
    • Categorical: Indices with fixed gradation or categories (CANAPE)
  • (?) Recommendation for visualization: Based on the properties, a suggested color scheme or visualization guideline:
    • Diverging gradient
    • Sequential palette
    • Qualitative palette
@shawnlaffan shawnlaffan self-assigned this Oct 30, 2023
@shawnlaffan shawnlaffan added this to the Release_5.0 milestone Oct 30, 2023
@shawnlaffan
Copy link
Owner

This can use the existing metadata infrastructure. Machine readability can be via export to JSON.

The main consideration is the notation to use. Possibly something like the standard bounds notation for continuous values, e.g. [0,1], (-Inf,+Inf). Or perhaps lower: 0, upper: 1 with other flags for inclusive/exclusive. Categorical data would just be a hash/dict: 0: Non-sig, 1: Neo, 2: Mixed, 3: Palaeo.

Divergent, sequential and categorical would be additional fields.

@shawnlaffan
Copy link
Owner

Metadata flags for ratio and divergent distributions were added in #893

@shawnlaffan
Copy link
Owner

Metadata was updated in #897

@shawnlaffan
Copy link
Owner

Support for categorical indices is in PR #899

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants