Open sseppi opened 1 week ago
@sseppi the Traffic Station dataset (like all mobility datasets) uses a pagination type that is different than the one from the tourism domain. The response does not contain any information about how many records are available at all, so there is no way to show that information to the user.
For the Traffic Station dataset pagination we pass the parameters offset
and limit
with the request, as a result we get an object with the following properties:
data
: contains an array of result records (25 by default)offset
: the offset used for the requestlimit
: the limit used for the requestsRegarding the other feedback "...the user should have anyway the possibility to choose different page sizes...": this is already possible using the "Lines per page" option. Did you mean something different?
@gappc thank you for your feedback and explanation.
I knew that the pagination is different, but it seems to me that the behavior of the Traffic Station dataset is different than the other mobility datasets.
As you can see in the screenshot below, if I try to change the page size I get a strange "Infinity" message (look at the red bordered square).
I tried to access the Traffic Station dataset (see the following link) but I experinsed some problems.
https://databrowser.opendatahub.com/dataset/table/mobility/v2/flat/Trafficstation
It seems that the Data Browser doesn't shows all traffic stations in the Table View.
Expected behaviour: I would like that the user experience of the switch to next page and the setup of the lines per page, is the same for all dataset (see screenshot below). In case that the Dataset has few entry the user should have anyway the possibility to choose different page sizes and in case be notified that there aren't more pages to navigate.