Open sosiology opened 3 weeks ago
@KerstinFaye @bprusinowski based on the discussion with Marco and BFS on 25.11.2024 here is the proposed scope of this task. Could you please add your estimates by the end of this week (29.11.2024)
Develop a custom iframe for open data swiss. The iframe should include:
The iframe should be dynamic in size, we are clarifying if it is possible to add a script tag see: https://gitlab.ldbar.ch/bafu/visualize/-/issues/709#note_17874
@sosiology assuming the design will be mostly like dataset preview we have now (and that we don't add new UI embedding options, but e.g. simply a new URL with cube iri, like /preview/cube-iri
), with some removed elements, it's not a big task – I'd say it shouldn't take more than 8-12h of development, but let's see how @KerstinFaye would like to approach this 👍
Thank you @bprusinowski. Also worth mentioning, this first iteration should be kept low effort. At this time only adjustments on our side are feasible and not larger adjustments to the ckan harvester
Description
Opendata.swiss has improved the display of the harvested cubes from LINDAS:
They embed the resource, which appears in the CKAN endpoint under the name "visualize.admin.ch," as an iframe—this is just a working theory, as I’m currently in contact with Opendata.swiss to confirm if that’s really the case. The link used for this resource is the one for the cube’s preview. Unfortunately, this now means that the Visualize application could potentially be accessed via any dataset, which could confuse users—especially since the preview page also contains metadata displayed further down.
My suggestion would be for us to offer something along these lines:
A simplified version of this table, without the title, a reduced header and footer, and a limited selection of data—since it's a preview, displaying between 20 and 100 entries would probably suffice. This would be part of the Visualize API. This API call could then be used as a substitute for the link in the CKAN endpoint.
DOD