LandSciTech / ccviR

Implement NatureServe climate change vulnerability index in R
https://landscitech.github.io/ccviR/
Other
2 stars 2 forks source link

Make it possible to build the app from arbitrary table of questions #90

Open see24 opened 1 year ago

see24 commented 1 year ago

This should be fairly straight forward in theory, but there are quite a few little rules in the app and in the index calculation that need to be considered. I think it could be done for non spatial factors but would be quite complex to add new spatial factors.

The table would need: Column Description
short_name <5 letter label
long_name what actually shows in app
value_opts which values are allowed (GI, I, SI, N)
hide_taxa which taxonomic groups it should be hidden for
section which section it is part of (B, C, D). Affects n factors needed for sufficient evidence
exp_fact which exposure multiplier is applicable
is_spatial is there an associated spatial analysis

Additional metadata for the created index: