prio-data/viewser

Fully functional querying examples

Closed this issue · 9 comments

There needs to be support for all the requirements of cross-level ViEWS work : i.e. merging data from LOA cm to LOA pgm outputing pgm, as well as aggregating data from LOA pgm to LOA cm. Support for, e.g. countries having no PGM attached should be there.

This is currently supported. Do you have a reprex / queryset where this doesn't work?

Mihai, please provide a query that explores this, as basis for discussion.

Thanks! I'll make sure that these work.

@mihaicroicu, I keep testing with these queries, and the previously missing LOA stuff works now. The assertions that assume global data do not, though, perhaps we could write some new ones?

Mihai helpfully pointed out that queries should predictably return all rows @ the requested LOA. This is implemented in prio-data/views_query_planning#2. I'll enable the service with this new update tomorrow.

Hey! I've pushed the change to Hermes now, confirm if data returned is as expected?

The latest iteration of this set of example queries returns data as expected with all assertions passing, so I'm closing this.