Closed RickMoynihan closed 3 years ago
Agreed on both counts. I have limited the function to linked datasets by selecting them as an rdf:type as this seemed the simplest way to get the desired behaviour, and I've added the publisher as an optional metadata exactly as described.
This query lists all datasets on the statistics.gov.scot site, however it also includes datasets that the rest of the functions in the library which seem predominantly focused on datacubes can't handle, e.g. this dataset is a zip file.
It might be worth thinking about how you want to handle this, to ensure users can list datasets the API can work with. Perhaps you want two procedures, one to list all cubes and another to list all datasets? Or one to list all cubes, and another list to all non-cubes?
e.g. you could write:
Incidentally I also noticed one dataset seems to be missing the publisher metadata, you might want to investigate why that is; or if it's legitimate consider putting the publisher metadata in an
OPTIONAL
as above.