-
Notifications
You must be signed in to change notification settings - Fork 96
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
GLAD Biodiversity Table Update #3367
Conversation
…fw into feature/glad_summary_tables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Small comments.
app/javascript/services/alerts.js
Outdated
@@ -1,13 +1,14 @@ | |||
import axios from 'axios'; | |||
import moment from 'moment'; | |||
// import moment from 'moment'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont leave comments please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad!
app/javascript/services/alerts.js
Outdated
|
||
const REQUEST_URL = `${process.env.GFW_API_HOST_PROD}`; | ||
const DATASET = process.env.GLAD_PRECALC_DATASET; | ||
const ISO_DATASET = process.env.ISO_GLAD_SUMMARY; | ||
const ADM1_DATASET = process.env.ADM1_GLAD_SUMMARY; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you names these by GLAD_.... instead? So they are grouped together in the alpha in heroku so easier to find.
Glad tables are now updated with the following id's for the
They just need testing on staging first - then we are good to go! |
…fw into feature/glad_summary_tables
Overview
Updates the GLAD Biodiversity Widget to use the new summary tables (pre-aggregated by week, and pre-grouped by either adm1 or adm2 ). Makes requests fast! 🔥
No Aesthetic changes.
Note that the summary tables are not yet synced with the current GLAD table, so data will not match when testing