Publishing Data
Updating a Dataset
Updating a dataset's metadata
- Browse to the relevant dataset
- Click the Manage button located near top right of the page
- On the subsequent page, the metadata associated with a dataset can be updated (Fields marked with a red asterisk are mandatory)
- Once finished, click the Update Dataset button at the bottom of the page
Adding additional resources to an existing dataset
- Browse to the relevant dataset
- Click the Manage button located on the near top right of the page
- Click the Resources link at the top of the page
- Click the + Add new resource button
- If uploading a file click the Upload button
- If linking to an existing service, file or site click the Link button
- When linking to a file the user will be presented with an option to generate an API using the linked data. This option will only work with formats compatible with CKAN or Geoserver
- Enter a Name for the resource
- If required enter a specific Description for the resource (markdown applies)
- Enter a Format (filetype e.g., csv, kml, shp…) for the resource
- Data.gov.au will attempt to guess format of the file if the field is left blank
- Format determines which visualisation will be automatically attached to the resource
- If left blank Last Modified will default to time of addition
- Click the Add button
Updating a resource in an existing dataset
- Browse to the relevant dataset
- Click on the resource that requires an update
- Click the Manage button located on the near top right of the page
- Click the red Remove button to remove the current version of the resource
- If uploading an updated file click the Upload button
- If updating a link to an existing service, file or site click the Link button
- If required update the Name
- If required update the Description (markdown applies)
- If required update the Format (filetype e.g., csv, kml, shp…)
- If left blank Last Modified will default to time of update
- Click the Update Resource button
Changing the order in which resources are displayed
- Browse to the relevant dataset
- Click the Manage button located on the near top right of the page
- Click the Resources link at the top of the page
- Click the Reorder resources button
- Resources can now be reordered by dragging and dropping into a new position
- Once finished click the Save order button
Deleting resources from a dataset
Deleting a resource will mean that it is no longer available for use. If you are planning to remove a resource and replace it with an updated version, we recommend overwriting the resource. Updating a resource will mean its unique identifier will not change.
- Browse to the relevant dataset
- Click on the resource that is to be deleted
- Click the Manage button located on the near top right of the page
- Click the Delete button
- Click the Confirm button
A note on updating existing resources
If you wish to replace an existing resource with a new version, ensure that whenever possible, the new file continues to use the same structure for the document. Developers and others are able to access the resource via its unique identifier (eg: [ad5c6594-571e-4874-994c-a9f964d789df]). If you overwrite a resource with a new file which is formatted differently, or a different file type (replacing CSV with an XLS) you will run the risk of disrupting applications which utilise the resource.
If you plan to radically change the structure or format the data is delivered, you should consider adding the new file as a different resource to the existing dataset. This will allow developers to continue to use the existing resource’s API while they make the necessary changes to their existing applications.