-
Notifications
You must be signed in to change notification settings - Fork 0
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
Monthly buckets of data #215
Comments
Noting that there are a couple places in the code that test for the presence of When we're ready to convert monthly files, we can update the flattener callback to not convert files if the output already exists. That way, we can just publish messages to the queue to fill in the month files. As for the frontend, if I understand @sabahfromlondon, users can:
We can't simply display all months like we do years, because, for example, job 713 has 210 files (2005-12 to 2022-06). #235 (comment) I figure users would just want all the data from start date to end date. If they need access to individual months, then we would need a new design. For reference, here is the current design at https://data.open-contracting.org/en/publication/22: Users can get all-time or a year in one click. For start/end, I figure we can have a small form with start date, end date and "download" button. The date fields can be pre-populated according to the search filters. In this way, if a user searches without any date filters, they still have the opportunity to set a specific range. The form can enforce a minimum/maximum according to the known date range, and it can perhaps repeat the date range, so that users don't need to scroll to the top to remember. |
@jpmckinney I'm a bit confused about what has happened because the requirement was for the user to select the date range as part of thier search. In the requirements document as part of the faceted search I had the options: Past month, Past 6 months, Past year, Past 5 years, All time - as part of a drop down. Currently the UI is only showing: All, Past year, Past six months using radio buttons - which I can live with. There was also a requirement for a custom date range option in the design using a calendar selector. I'm pretty sure this was developed but is not longer available. I'm not sure what happened to it! The date range for the download should be for what the user selected back on the search page. It's why we added the feedback labels on the datasets in case there was a partial coverage issue. I think it's odd for the user to have to re-select the date range again here. Is it becuase of a technical difficulty? |
The UI for a date range needs to be added back to the search page. It is temporarily missing. I had to rip out Vue in order to fix a variety of bugs, and didn't have time to add that functionality back yet. Now tracked in #249 We can add Past month and Past 5 years once #234 is closed. Now tracked in #250. I'm suggesting that if the user did not indicate a date range on the search page, then they can have the opportunity to set one on the detail page. Also, if they change their mind, they can do so without going back to the search page. If they did set a date range on the search page, it would be the same on the detail page. The change I'm suggesting is to make it editable. |
I do see where you are coming from and editing the date range on the details page is not unprecendeted, but we did do extra work to support the user on the search page with the feedback labels for the coverage. The goal was for users to feel confident that the could access data for the date range they wanted. I hoped that there would be no need to the user to have to select again, expect in the rarest of circumstances. If the change as you say is to make the date range editable in the Access data section, then the options for the user should mirror what is on the search page. |
Thanks for adding the additional tickets :) |
Yup, the partial overlap logic will be restored along with the filter, and the options will be synced to avoid data re-entry for the common case. |
Sounds perfect! |
Relevant for large annual Excel files. |
The registry currently is only able to provide users with data in year buckets.
This is not ideal for a two main reasons:
As a result, we would like there to be monthly buckets of data, so that a user can receive only the data from the start month and year and up to only the end month and year. For example:
The UI options in the screenshot below will need updated as a result of this change to monthly buckets.
IMPORTANT: We should have the same set of options for JSON and CSV while the Flatten tool is not ready to be launched.
The text was updated successfully, but these errors were encountered: