Giter Site home page Giter Site logo

adityav-verma / osf-data-validator-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from structureddynamics/osf-data-validator-tool

0.0 1.0 0.0 404 KB

The Data Validator Tool (DVT) is a command line tool used to perform a series of post indexation data validation tests. What this tool does is to run a series of pre-configured tests, and return validation errors if any are found.

Home Page: http://opensemanticframework.org

osf-data-validator-tool's Introduction

OSF-Data-Validator-Tool

The Data Validator Tool (DVT) is a command line tool used to perform a series of post indexation data validation tests. What this tool does is to run a series of pre-configured tests, and return validation errors if any are found.

Installing & Configuring the Data Validator Tool

The Data Validator Tool can easily be installed on your server by extracting the files into the OSF Web Services folder on your server:


  [root-path]/StructuredDynamics/osf/validator/
  

The DVT is using the OSF Web Services PHP API library to communicate with any OSF network instance. If the OSF Web Services PHP API is not currently installed on your server, then follow these steps to download and install it on your server instance:

  ./osf-installer --install-osf-ws-php-api -v 

Once the DVT and the OSF Web Services PHP API are downloaded and properly installed on your server, you then have to configure some key DVT configuration settings:

  • OSF-WS-PHP-API/folder

    Folder where the OSF Web Services PHP API is located. This has to be the folder where the the top "StructuredDynamics" folder appears.

  • osf/network

    Base OSF Web Services network URL where the queries will be sent

  • data/datasets

    The series of datasets URIs that you want to inspect with this tool

  • data/ontologies

    The series of ontologies dataset URIs that you want to use to inspect the configured datasets

  • tests/checks

    The tests validation classes that will be run by this data validator tool

Usage Documentation

Usage: dvt [OPTIONS]

Usage examples:
    Validate data: dvt -v

Options:
--output-xml="[PATH]"                 Output the validation reports in a file specified
                                      by the path in XML format.
--output-json="[PATH]"                Output the validation reports in a file specified
                                      by the path in JSON format.
--allocated-memory="M"                Specifies the number of Mb of memory allocated to the DVT
                                      The number of Mb should be specified in this parameter
-v                                    Run all the data validation tests
-s                                    Silent. Do not output anything to the shell.
-f, --fix                             Tries to automatically fix a validation test that fails
                                      Note: not all checks support this option
-h, --help                            Show this help section

osf-data-validator-tool's People

Contributors

fgiasson avatar

Watchers

Aditya Verma avatar

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.