-
Notifications
You must be signed in to change notification settings - Fork 1
Download ALL the Metadata Button
You may want to download all the metadata to be able to review it on Excel or another spreadsheet software. The platform has a useful API, for more information on this click here. Using the API, we've added a simple button which enables us to download a CSV of all the metadata at the bottom of the homepage.
To do this on your platform:
- Create a new file in the _includes/components folder called 'download-metadata.html'. Here is our example code.
Make sure to add your "Github Organization Name" and "Data Repo Name" in the link (https://[GITHUB ORGANISATION].github.io/[DATA REPO NAME]/meta/all.json) in line 11.
- Edit the _layouts/frontpage.html file to include this new button you created. See line 39 here.
{% include components/download-all-data.html %}
Now, you should be able to see a green button at the bottom of the homepage!
If you have any suggestions for this material, please feel free to raise an issue; or if you have any additional questions that are not covered, please feel free to contact us.