Skip to content

This project provides a tool to generate various metadata formats and standards from the Hakai(CIOOS) metadata catalog form yaml format. It aims to facilitate the sharing and citation of datasets by converting metadata records into widely recognized standards.

Notifications You must be signed in to change notification settings

HakaiInstitute/hakai-metadata-conversion

Repository files navigation

CKAN Metadata Format Generator

This project provides a tool to generate various metadata formats and standards from the Hakai(CIOOS) metadata catalog form yaml format. It aims to facilitate the sharing and citation of datasets by converting metadata records into widely recognized standards.

Currently Supported Standards

  • citation.cff: Citation File Format, a human and machine-readable file format which provides citation metadata for software.

Features

  • Easy Integration: Seamlessly integrates with existing CKAN instances to fetch catalog records.
  • Extensible: Designed with extensibility in mind, allowing for the addition of more metadata standards in the future.
  • User-Friendly: Provides a simple and intuitive interface for generating metadata files.

Getting Started

To use this tool, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/your/repository.git
    cd repository
  2. Install Dependencies:

    pip install -e .
  3. Run the Tool:

    python hakai_metadata_conversion 

    For more information

    python hakai_metadata_conversion --help

Use within an action

The tool can be use within a github action by adding the following step within your action:

job: 
    sync:
        step:
            - use: action/checkout@v4
            - name: Sync metadata
              use: hakaiinstitute/hakai-metadata-conversion
              with:
                - input: url or file path within repo
                - output-file: CITATION.cff
                - output-format: cff

How to Contribute

We welcome contributions! If you would like to add support for more metadata standards or improve the tool, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the CKAN community for providing the platform that inspired this tool. Special thanks to all contributors who have helped extend and maintain this project.

About

This project provides a tool to generate various metadata formats and standards from the Hakai(CIOOS) metadata catalog form yaml format. It aims to facilitate the sharing and citation of datasets by converting metadata records into widely recognized standards.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages