-
Notifications
You must be signed in to change notification settings - Fork 2
4. Publication
Finally once your cube is transformed and annotated inside the Cube Creator, the last step is to publish the work to the public database, where it will be picked up by the various applications.
The publication is based on the last import or transformation. If you want to republish new data e.g. after replacing the CSV you need to first re-run the transformation. Every time a cube gets published, a new full version is pushed to the public database, deprecating the former version. The old versions are still available to ensure applications using those versions can stay alive.
- Check if all data and metadata is correct.
- The cube is published in the chosen Status (draft/published) of the cube metadata.
- If the cube should be published to
visualize.admin.ch
oropendata.swiss
, make sure that those options were set in the cube's meta-data .
⚠️ WarningIn case you are republishing an updated version of the same Cube with the use of visualize.admin.ch in mind, make sure to not change the structure of the cube. Else it will potentially destroy already published graphics based on your former version of the cube. Further information can be found on the documentation of visualize.
- Click on the "start publication" button
- The publication is started and added to the list of "Previous publications"
- Once the icon turns to green, the cube is available in the public database
- If the cube is marked as "Publish to visualize.admin.ch" you can check in visualize.admin.ch if the cube is available.
⚠️ WarningIt is not easily possible to un-publish data from the public database. Make sure that the published data is of non-sensitive nature.
See also manually removing a cube.
Applications | Expired | Unlist | Manual Delete |
---|---|---|---|
Cube-Creator | N/A | reversible | republishable |
Lindas (SPARQL) | no effect | no effect | no more data |
Visualize | auto update | no more usable | no more visible |
Existing charts | auto update | still visible | empty |
Opendata | updated at the next harvesting | no effect | no more harvested |
Every publication adds a complete version of a cube to the public database. At the same time the previous versions are marked as expired. The Cube Creator sets automatically this flag following these rules:
- A new published version expires all previous versions.
- A new draft version expires all previous draft versions.
Applications should always refer to the last published version of a cube, or for testing purpose to the last draft version.
An expired cube is still fully accessible in public database.
Unlisting a cube flags all versions of this cube as expired. Applications based on the last published (ev. draft) version fail to find the cube and/or the data. Republishing a version of the cube (publish or draft) will make the cube available again.
Delete all data (and metadata) of a cube from the public database. Applications referencing this cube will fail or crash. Republishing a version of the cube (publish or draft) will make the cube available again.