Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

DCAT JSON pagination #27

Closed
mhogeweg opened this issue May 13, 2013 · 5 comments
Closed

DCAT JSON pagination #27

mhogeweg opened this issue May 13, 2013 · 5 comments

Comments

@mhogeweg
Copy link
Contributor

Is the expectation that all of an agency's public datasets are listed in a single data.json (xml, html) file? this might result in huge files that are not easy to navigate for developers who are looking for some specific dataset.

has it been considered to implement a filter and pagination approach using opensearch (http://www.opensearch.org) or breaking big catalogs into chunks similar to what is done in the sitemap protocol (http://www.sitemaps.org/).

@rufuspollock
Copy link

Perhaps worth connecting this with http://spec.datacatalogs.org/ and specifically this discussion issue: okfn/data-catalog-spec#7

@konklone
Copy link
Contributor

I don't think these are going to be navigated directly, like browsers scrolling through it in Chrome with JSONView turned on. It's there so it can get funneled into other systems that do implement things like pagination. Having one JSON file means agencies can meet the requirements through an abundance of mechanisms, even just publishing a static file and not having to run a hosted service at all.

@kachok
Copy link

kachok commented May 13, 2013

Rationale for this is what @konklone said. Assuming that data.gov will be run on CKAN, developers can easily access same metadata via CKAN API which provides pagination and accomodate similar need for majority of developers.

@jpmckinney
Copy link
Contributor

+1 single file for source document
+1 pagination for systems consuming that source document

@benbalter
Copy link
Contributor

Sounds like the general consensus is that pagination is best handled upstream.

@mhogeweg thanks for taking the time to raise the issue. If you have a chance, would be awesome to see a pull request to document how to paginate, available resources, etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants