opendatateam / udata

Customizable and skinnable social platform dedicated to open data.
http://udata.readthedocs.org
GNU Affero General Public License v3.0
241 stars 88 forks source link

Add a job to bind Tabular API to its datasets #3162

Closed maudetes closed 1 month ago

maudetes commented 1 month ago

Related to https://github.com/datagouv/data.gouv.fr/issues/1467.

The purpose is to add all the datasets served by tabular API to the corresponding dataservice object. It is based on resources extras to know if a dataset is served by tabular API.

The job could be scheduled to run daily.

We're adding the job in udata directly instead of the tabular preview plugin. Both use the same logic : https://github.com/opendatateam/udata-tabular-preview/blob/master/udata_tabular_preview/preview.py#L18-L21