Skip to main content

{{ DESCRIPTION }}

Project description

Travis
Coveralls
PyPi
SemVer
Gitter

A datapackage-pipelines processor to validate tabular resources using goodtables.

Install

# clone the repo and install it with pip

git clone https://github.com/frictionlessdata/datapackage-pipelines-goodtables.git
pip install -e .

Usage

Add the following to the pipeline-spec.yml configuration to validate each resource in the datapackage. A report is outputted to the logger.

...
- run: goodtables.validate
  parameters:
      fail_on_error: True,
      fail_on_warn: False,
      suppress_if_valid: False,
      goodtables:
          <key>: <value>  # options passed to goodtables.validate()
  • fail_on_error: An optional boolean to determine whether the pipeline should fail on validation error (default True).

  • fail_on_warn: An optional boolean to determine whether the pipeline should fail on validation warning (default False).

  • suppress_if_valid: An optional boolean to determine whether the goodtables validation report should be logged if there are no errors or warnings (default False).

  • goodtables: An optional object passed to goodtables.validate() to customise its behaviour. See `goodtables.validate() <https://github.com/frictionlessdata/goodtables-py/#validatesource-options>`__ for available options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

datapackage_pipelines_goodtables-0.0.1a0-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page