This repository contains a set of tests that can be executed on each CKAN record available on the Hakai Institute CKAN catalogue. These tests are designed specifically for the Hakai Institute CKAN catalogue.
The result is summarized via the github page: https://hakaiinstitute.github.io/hakai-ckan-records-checks/
The purpose of this repository is to ensure the quality and integrity of the CKAN records in the Hakai Institute CKAN catalogue. By running these tests, we can identify any issues or inconsistencies in the data and take appropriate actions to resolve them.
To get started with running the tests, follow these steps:
- Clone this repository to your local machine.
- Install poetry
- Install the necessary dependencies (ideally within an environment). 4. We recommend to use poetry:
poetry install
- Execute the tests:
poetry run hakai_ckan_records_checks -c https://catalogue.hakai.org --cache
- Render pages
poetry run mkdocs serve
The tests in this repository are organized into the following categories:
- Data completeness: These tests check if all the required fields in the CKAN records are populated.
- Data consistency: These tests verify the consistency of data across different CKAN records.
- Data accuracy: These tests validate the accuracy of specific data fields in the CKAN records.
- Data format: These tests ensure that the data in the CKAN records adhere to the specified format.
Contributions to this repository are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
This repository is licensed under the MIT License.