SFOE / OGD_qualitychecks

Automated pipeline to check OGD data quality using Frictionless
0 stars 0 forks source link

Step 3: Associate Data and datapackage #4

Open AFoletti opened 1 year ago

AFoletti commented 1 year ago

Goal: to use the right datapackage.json for testing the right data

(almost) each OGD publication has a corresponding datapackage.json in the publication folder. This datapackage is used to test the formal quality of the published data. Using the information from the previous steps, you need to select the right datapackage for the data you are currently testing. Please notice that the datapackage contains a "path" attribute with the URL of the CSV to be tested "path": "https://www.uvek-gis.admin.ch/BFE/ogd/6/ogd6_kev-bezueger.csv", This URL is however NOT what you want (you want to test the CSV in the staging folder). You then need to either store a temporary copy of the datapackage with a modified path, or find a way to modify the path at runtime