BioKIC / NEON-Biorepository

Development base for the NEON Biorepository Data Portal host by BioKIC - Arizona State University (https://biorepo.neonscience.org)
GNU General Public License v2.0
2 stars 1 forks source link

Update neon_taxonomy table via NEON API #564

Open sunray1 opened 5 hours ago

sunray1 commented 5 hours ago

Instead of requiring NEON to update us via email each time a taxonomic change is made, it might be easier to have a function within the portal to hit the API and update the neon_taxonomy table on a schedule.

Example: https://data.neonscience.org/api/v0/taxonomy?taxonTypeCode=BEETLE&stream=true

sunray1 commented 5 hours ago

https://stackoverflow.com/questions/8521245/update-mysql-every-2-hours-with-api-data

Probably easiest to cron job it