daf-ontologie-vocabolari-controllati icon indicating copy to clipboard operation
daf-ontologie-vocabolari-controllati copied to clipboard

[error in the validator] False positive issue in transparency-obligation.csv

Open ioggstream opened this issue 3 years ago • 7 comments

When

Validating VocabolariControllati/classifications-for-transparency/transparency-obligation/transparency-obligation.csv

I expect

  • no error
  • id_obbligo is a string

instead

frictionless interprets it as an integer

# -------
622      1  type-error  Type error in the cell "A" in row "622" and field "id_obbligo" at position "1": type is "integer/default"

id_obbligo,id_sotto_obbligo,id_transparency_titulus,...
"020102","C","0201","1","Obbligo di pubblicazione concernente i titolari di incarichi politici"
"A",,"0201","3","Obbligo di pubblicazione di informazioni generali per titolari di incarico  ",...

ioggstream avatar Jan 21 '22 17:01 ioggstream

This can be a false positive, since id_sotto_obbligo can be either null or a string.

How can we configure the validator?

ioggstream avatar Jan 21 '22 17:01 ioggstream

the identifier is a string, yes. Not an integer. Which validator? Probably I am missing here some point. I know you are doing some automatic checks but I think we need to pay attention in some cases.

giorgialodi avatar Jan 21 '22 18:01 giorgialodi

It's a bug in the validator.

ioggstream avatar Jan 21 '22 19:01 ioggstream

ok so I think we can close this issue.

giorgialodi avatar Jan 23 '22 17:01 giorgialodi

I Need to move it to another repo. I'll close once I open it there ;)

Il dom 23 gen 2022, 18:28 giorgialodi @.***> ha scritto:

ok so I think we can close this issue.

— Reply to this email directly, view it on GitHub https://github.com/italia/daf-ontologie-vocabolari-controllati/issues/173#issuecomment-1019530401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIWQ3HUIF2Q34XCFU6V7VTUXQ3CJANCNFSM5MQDIPZA . You are receiving this because you authored the thread.Message ID: @.*** com>

ioggstream avatar Jan 23 '22 17:01 ioggstream

@ioggstream che cosa facciamo con questo issue?

giorgialodi avatar Mar 22 '24 16:03 giorgialodi

Va spostato sul sito del validatore teamdigitale/json-playground credo. Non ho i permessi. Cc @mfortini

ioggstream avatar Mar 22 '24 18:03 ioggstream