-
Notifications
You must be signed in to change notification settings - Fork 21
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
COVID-19 API endpoints #2253
COVID-19 API endpoints #2253
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Codecov Report
@@ Coverage Diff @@
## master #2253 +/- ##
==========================================
- Coverage 95.35% 95.13% -0.23%
==========================================
Files 226 235 +9
Lines 8866 9019 +153
Branches 832 833 +1
==========================================
+ Hits 8454 8580 +126
- Misses 293 320 +27
Partials 119 119
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2253 +/- ##
==========================================
- Coverage 95.40% 95.22% -0.19%
==========================================
Files 209 219 +10
Lines 8538 8727 +189
Branches 807 810 +3
==========================================
+ Hits 8146 8310 +164
- Misses 280 302 +22
- Partials 112 115 +3
Continue to review full report at Codecov.
|
5bbd60a
to
ae0451e
Compare
0d726b0
to
d1e5cff
Compare
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.
A couple of small comments, but this looks good.
*, | ||
aggregation_unit, | ||
subscriber_subset=None, | ||
sampling=None |
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.
Is this supposed to have a 'sampling' parameter? It's not used anywhere.
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.
(same for TripsODMatrixExposed
)
------- | ||
Query | ||
""" | ||
# Note we're not using the redacted version here, because the two composing queries are redacted |
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.
Reflecting on this, I think RedactedUniqueVisitorCounts
should redact after subtracting active residents from unique subscribers, because otherwise a region with 17 unique subscribers, 16 of whom are active residents, will return 1 unique visitor.
On the other hand, one could separately calculate unique_subscriber_counts
and active_at_reference_location_counts
and do the subtraction outside of FlowKit, so redacting UniqueVisitorCounts
wouldn't help. I'm not sure how to get around that.
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 previous comment was meant to be an approval)
… regional pair connections
…pling from top level queries
Co-Authored-By: James Harrison <[email protected]>
I have:
Description
Adds api endpoints for indicators in #2244