noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
8 stars 7 forks source link

Traffic Station dataset doesn't work properly #574

Open sseppi opened 1 week ago

sseppi commented 1 week ago

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.

Screenshot from 2024-06-21 09-14-54

gappc commented 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:

Regarding 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?

sseppi commented 1 week ago

@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).

Screenshot from 2024-06-21 09-14-54