wallaceEcoMod / wallace

an interactive, reproducible, expandible, instructional, and open-source GUI-based app for ecological niche modeling
https://wallaceecomod.github.io/
GNU General Public License v3.0
132 stars 46 forks source link

Break occs_queryDB in several modules #356

Open gepinillab opened 3 years ago

gepinillab commented 3 years ago

The internal structure of this module is already complex which is making it harder each time to include a new enhancement on it. I suggest breaking in several modules base on the package used (e.g., spocc, occCite, RBIEN, etc.). This will make it easier to add a new package to obtain the database in the future. And making new options available for current options (i.e., occCite & RBIEN).

Additionally, I suggest moving the uncertainty option and create a new module in the process occs component. Ideally, this new module will allow users to remove occurrences by a threshold of uncertainty (not just if the field is empty). More important, the idea is that users can visualize the uncertainty of the points based on buffers that surrounds each point (Fig. 3b in Anderson et al., 2020).