-
Notifications
You must be signed in to change notification settings - Fork 601
Deprecate use of accessURL in favor of downloadURL for file downloads #335
Comments
is download the only form of access you're countenancing for data.gov? |
👍 @smrazgs - I don't think so, no. It seems to me that this issue is about more tightly aligning to DCAT, making a more exact field for the downloadable file, and to better allow for the use cases described in #333. |
There seem to be a lot of issues around the basic question of distribution information. in #333 I outlined what are probably the three major scenarios-- a URL that GETs the described resource, a URL that GETs a web application that provides some kind of access to the resource (Is this 'mediated' per @andreamedinasmith in #333 ?), and a link that is machine-actionable to automate access to the resource useful for software agents. I haven't been involved in the F2F discussions that I assume are going on, and its not clear if you have unambiguous solutions for these approaches. The ISO19115 CI_OnlineResource element attempts to address the issue, and it might be worth your time to have a look at that and how its used in metadata instances. |
Just to offer a few different examples of what we have at NIST (which is what @andreamedinasmith was alluding to in #333) : A database that is available to be searched, and results of search downloaded:
A database that is available to the public, but for a price:
The understanding I came away with from the face-to-face last week is that we will put our 'main' page in the landingPage element, and that's pretty much it. Search pages (and certainly not the ordering pages) are not considered to be appropriate for accessURL (which is clearer if you think about accessURL already being downloadURL). If we want to mention these other pages (search, ordering, etc) those urls will either need to be placed in places that take text (like description, for the search forms, or accessLevelComment, for the ordering forms). |
It would appear that the data.gov metadata design is not really intended to support describing the variety of distributions that NIST offers. You might consider a more expressive metadata model and catalog service to support the full range of NIST data distribution. Sounds like in the example you give there is no simple click and download link, the simplest distribution is through the search/download web application ('a URL that GETs a web application that provides some kind of access to the resource'). |
This is addressed in 1c93d7f |
Changes that still need to be addressed are changes in structure and should we add usage notes additions here or no?: * Adds optional describedByType field at the dataset and distribution level (#291, #332) * Changes contactPoint field to an object that contains the name (fn) and email address (hasEmail) (#358) * Adds fn field as part of contactPoint replacing earlier use of contactPoint (#358) * Changes publisher field to an object that allows multiple levels of organizations (#296) * Changes accessURL field to represent indirect access and to exist only within distribution (#217, #335) * Changes format field to a human readable description and to exist only within distribution (#272, #293) * Adds optional description field for use within distribution (#248) * Adds optional title field for use within distribution (#248) * Changes accrualPeriodicity field to use ISO 8601 date syntax (#292) * Changes distribution field to become required-if-applicable and to always contain the accessURL or downloadURL fields (#217) * Changes license field to be a URL (#196)
Is there any consideration how to represent the QR code (Quick Response code) in the downloadURL? |
@pandyapm are you asking how you would generate a QR Code based on the downloadURL? I think you would just use the standard alphanumeric encoding scheme for QR codes since that seems sufficient for displaying URLs. That's all defined by the way QR codes work though, so I'm not sure what consideration you think would be appropriate to include here for using QR codes. |
@philipashlock If there is a QR code image available for an URL, can it be a new field (for e.g. downloadURLQR) inside the distribution list of options? |
@pandyapm Couldn't the QR code be generated on the fly? This doesn't provide any additional information, it's just an automated transformation of existing information, so I don't think it would be appropriate to include as part of the schema. |
@smrazgs Just to address your earlier breakdown of the different scenarios:
For this we're using
For this we're using
For this we're using |
Hi folks - It looks like the original issue has been addressed in the v1.1 metadata update. @pandyapm - I concur with @philipashlock that the QR issue would appear to be a different question. I'm going to go ahead and close this issue but feel free to spin up a new issue for this or anything else. |
To better align with DCAT, I'd suggest that
accessURL
be deprecated in favor ofdownloadURL
when the URL points to a file for download.accessURL
could still be acceptable but is less specific and would make more sense for URLs that don't lead directly to a download of the whole file such as an API endpoint (rather thanwebService
, see #291) or other information about the resource that's not already captured bydataDictionary
,landingPage
, or areference
In related issues:
downloadURL
should also be paired withmediaType
(#272) within thedistribution
array (#217)The text was updated successfully, but these errors were encountered: