You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When everything is done print the result: valid or invalid? I just came in to read that one word
Format JSON output
Remove empty object in the end
currently
[
{"id":"NON_DDF_FOLDER","type":"This folder is not DDF","path":"/Volumes/angie-data/_GIT/ddf--gapminder--systema_globalis/etl","tags":["WARNING","FILE_SYSTEM"]},
{"id":"INCORRECT_JSON_FIELD","type":"Incorrect JSON field","path":"/Volumes/angie-data/_GIT/ddf--gapminder--systema_globalis/ddf--entities--geo--country.csv","data":{"column":"arb5","line":55,"value":"Congo [DRC]"},"tags":["WARNING"]},
{}]
suggested
WARNING: This folder is not DDF /etl
WARNING: Incorrect JSON field (55:arb5): "Congo [DRC]" in /ddf--entities--geo--country.csv
Validation complete. Your DDF is valid!
The text was updated successfully, but these errors were encountered:
The above is largely solved with extra file/gapminder offline implementation
Further improvement: when creating datapackage please output the result to the console "Datapackage creates successfully" rather than creating a log file for that (i need to do it often and remove the file every time!)
create a log file only when there are issues
when validation is complete with errors or warnings print the total error and warning count
it is useful because i expect to have the 2 warnings in the file but too lazy to open it and check if there aren't more of them
When everything is done print the result:
valid
orinvalid
? I just came in to read that one wordFormat JSON output
Remove empty object in the end
currently
suggested
The text was updated successfully, but these errors were encountered: