Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Validate single resource with `datapackage.json`

See original GitHub issue

Is it possible to validate an individual resource file (CSV) against the schema in datapackage.json.

I have separate processing scripts for each resource and like to run goodtables for each individually.

Setting schema didn’t work (as datapackage.json is not a Table schema I assume).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

rollcommented, May 23, 2022


report = validate("datapackage.json", resource_name="some")
frictionless validate datapackage.json --resource-name some

The idea is getting validation for only 1 resource from N datapackage’s resources

rollcommented, Feb 1, 2021


I think it’s not possible ATM I’ve changed it to a feature request

Read more comments on GitHub >

github_iconTop Results From Across the Web

add resources to datapackage.json #73 - GitHub
I only really looked into this matter today. It seems the current datapackage.json is not passing schema validation with goodtables. $ goodtables schema...
Read more >
Introduction to frictionless
Validate your Data Package before depositing. You can do this in Python with the Frictionless Framework using frictionless validate datapackage.
Read more >
datapackage - PyPI
The data package descriptor will be validated after resource descriptor removal. ... With the contents of `datapackage.json` being the same as returned ...
Read more >
Working with Data Package Creator - Open Knowledge Labs
The Validate button prompts Data Package creator to check whether the selected profile is befitting for the resources that constitute your data ......
Read more >
Data Packages - Docs - DataHub - Frictionless Data
datapackage.json # a data file (CSV in this case but could be any type of data) ... Include the resourceName property if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found