ckan / ckanext-dcat

CKAN ♥ DCAT
164 stars 142 forks source link

Loading multiple datasets and distribution for those datasets in one jsonld #226

Open sparsons808 opened 1 year ago

sparsons808 commented 1 year ago

does dcat have support for this?

metaodi commented 1 year ago

Yes this is possible using the catalog endpoint. Just specify .jsonld as format.

e.g. https://opendata.swiss/catalog.jsonld

if you only want some datasets, you can use the q and fq to query/filter the datasets.

sparsons808 commented 1 year ago

thank you @metaodi , so i know to do this you have to change the ini file, but the documentation doesn't specify where you would place https://{ckan-instance-host}/catalog.{format}?[page={page}]&[modified_since={date}]&[profiles={profile1},{profile2}]&[q={query}]&[fq={filter query}] within your code. Also do you know if this end point auto loads into ckan without calling the ckan load api?

abhisheksridh commented 1 year ago

What does this mean Catalog endpoint? Please advise on how it can load multiple datasets?

jze commented 11 months ago

You can read about the catalog endpoint here: https://github.com/ckan/ckanext-dcat#catalog-endpoint

The catalog endpoint is the standard way to harvest data from a data portal that supports DCAT. Unfortunately demo.ckan.org has disabled its CKAN support. However, the catalog endpoint Germany's national open data portal can be found here: https://ckan.govdata.de/catalog.xml