explorer
explorer copied to clipboard
Display amount of measurements collected per country per year and per month
Currently on OONI Explorer, you can only see how many measurements have been collected per country over the years.
Community members have expressed the need to be able to view how many measurements have been collected from each country per year.
It may be worth considering adding support for a feature which allows users to filter the measurements per country based on varying time-frames (year, month, week, etc.).
This should be done post-launch.
I wonder if there's any documentation regarding backend APIs for this.
The closest thing I found from the source code was the /api/v1/measurements
endpoint, and using it does not sound very efficient (we'll have to pull in the whole dataset to aggregate).
@minhducsun2002 I suggest taking a look at the API documentation and then asking here or on Slack if you require further clarifications
This need was re-iterated today during the monthly OONI Community Meeting, during which community members mentioned that they would like to have an easy way of learning how many OONI measurements were collected in each country per year and per month.
During the meeting @hellais mentioned that we can possibly add a toggle to switch between yearly and monthly views, and that this could be included in the country coverage charts: https://github.com/ooni/explorer/issues/687
I've bumped up the priority since this ticket was originally opened almost 2 years ago, and it's still a community need that is being requested.