Code Monkey home page Code Monkey logo

amf_cvs's Introduction

AMF_CVs

This repository contains the AMF controlled vocabularies.

These files were generated by amf-check-writer.

The associated AMF file checks are described in YAML format in the amf-compliance-checks repository.

Structure

Directories and files are structured as follows:

  • AMF_CVs/<vocabulary>.json - JSON version of each vocubulary - for use with pyessv library.
  • product-definitions/spreadsheet/<spreadsheet_name>.xlsx - directly converted from google spreadsheets used to develop the product definitions.
  • product-definitions/tsv/<spreadsheet_name>/*.tsv - each worksheet with the product definition google spreadsheets is converted to a tab-delimited variables file.
  • amf-pyessv-vocabs/* - the vocabularies translated into a form used by the PYESSV package in the checks.

Instruction on creating new releases of the CVs

See the instructions docs.

Installation via Pip

You can install the amf-pyessv-vocabs directory as a pseudo Python package. This is useful when packaging up an installation with other compliance checking packages. It can be done with:

pip install git+https://github.com/ncasuk/AMF_CVs

amf_cvs's People

Contributors

agstephens avatar joesingo avatar

Stargazers

Heather Guy avatar Florent Malavelle avatar

Watchers

James Cloos avatar  avatar James avatar Dan Walker avatar  avatar longlostjames avatar

amf_cvs's Issues

Create first release: 1.0.0

Release notes should be:

  • release version: 1.0.0
  • First formal release of the controlled vocabularies and product definitions for the NCAS Data Project.
  • Release date: YYYY-MM-DD
  • All files generated from Google spreadsheets used to manage the development of the vocabularies.
  • Directories and files are structured as follows:
    • AMF_CVs/<vocabulary>.json - JSON version of each vocubulary - for use with pyessv library.
    • product-definitions/spreadsheet/<spreadsheet_name>.xlsx - directly converted from google spreadsheets used to develop the product definitions.
    • product-definitions/tsv/<spreadsheet_name>/*.tsv - each worksheet with the product definition google spreadsheets is converted to a tab-delimited variables file.

Create additional vocabularies in AMF_CVs.

Need to make sure that these values:

$ ls -1 check-data/v2.0/spreadsheets/product-definitions/tsv/_vocabularies/

community-instrument-name-and-descriptors.tsv
creators.tsv
data-products.tsv
file-naming.tsv
ncas-instrument-name-and-descriptors.tsv
platforms.tsv

...make it into these parts of the AMF vocabs (json files):

$ ls AMF_CVs/AMF_CVs/ | grep -v product

AMF_CVs/AMF_CVs/AMF_instrument.json
AMF_CVs/AMF_CVs/AMF_platform.json
AMF_CVs/AMF_CVs/AMF_product.json
AMF_CVs/AMF_CVs/AMF_scientist.json

At the moment they are not getting generated by:

create-cvs $CHECK_TMPDIR/product-definitions $CHECK_TMPDIR/cvs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.