Not able to use validate in frictionless 5
See original GitHub issueHi, using frictionless 4 if I run
frictionless validate ./info.yml --path input.csv
I have right validation output.
If I use the same command using the 5 version, it validates not the csv file, it validates the yml one.
# -----
# valid: ./info.yml (non-tabular)
# -----
## Summary
+--------------+---------------+
| Name | Value |
+==============+===============+
| File Place | ./info.yml |
+--------------+---------------+
| File Size | 1.4 kB |
+--------------+---------------+
| Total Time | 0.414 Seconds |
+--------------+---------------+
| Rows Checked | |
+--------------+---------------+
Am I doing something wrong? How to validate a file using an yml descriptor file?
Thank you
Files
id,Comune,temperatura_corporea,area,email,data
1,Cefalu',36.26,,info@email.it,12/27/2022
7,Santa Flavia,-28,,posta@emailit,12/2/2022
path: input_01_fd.csv
encoding: utf-8
name: input
profile: tabular-data-resource
format: csv
hashing: md5
dialect:
delimiter: ","
schema:
missingValues: ["NaN","-",""]
fields:
- name: id
title: "Identificativo"
description: "Codice univoco identificativo"
type: integer
constraints:
required: true
unique: true
example: 1
- name: Comune
title: "Comune"
description: "Nome del Comune in cui si è svolta la misurazione"
type: string
example: "Trieste"
- name: temperatura_corporea
title: "Temperatura corporea"
description: "Valore in grado Celsius della temperatura corporea"
type: number
constraints:
minimum: 34
example: 36.12
- name: area
title: "Area"
description: "Area geografica in una delle seguenti categorie: Nord, Centro, Sud"
type: any
constraints:
enum:
- Nord
- Centro
- Sud
example: "Nord"
- name: email
title: "Indirizzo email"
description: "Indirizzo email del soggetto"
type: string
format: email
example: "esempio@tin.it"
- name: data
title: "Data misurazione"
description: "Data in cui è stata effettuata la misurazione, nel formato YYYY-MM-DD"
type: date
format: default
example: "2022-12-31"
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Validating Data - Frictionless Framework
Tabular data validation is a process of identifying problems that have occured in your data so you can correct them.
Read more >Validate against external profile · Issue #618 - GitHub
Overview I want to validate my package against an external profile that is an extension of tabular-data-package.
Read more >goodtables - PyPI
goodtables-py ... Goodtables is a framework to validate tabular data. It can check the structure of your data (e.g. all rows have the...
Read more >A Short Case Study Involving Table Schema Frictionless ...
Using simple JSON objects, Frictionless specifications allowed the ITB to enforce data validation in multiple ways as can be observed from ...
Read more >Announcing the New Frictionless Framework
If your project is using this code, these changes are not breaking and there is no ... Frictionless generates a unified validation report, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, it works, thank you very much. Wouldn’t it be better to also enable the three-character extension, since that’s the more standard way to save a file?
You don’t have to apologize. I would like to switch to version 5, but if I can’t validate, I have to stay on 4. It also seems to me a problem that - if confirmed - is important.
Thank you