You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
distribution vs accessURL in data.json metadata #16
distribution property is not part of metadata, but defined in expanded description of properties.
Not clear how multiple versions of the same dataset (e.g. JSON, XML, CSV) should be represented in data.json:
a) {"accessURL":"http://www.agency.gov/vegetables/listofvegetables.csv"} (allows only single link)
b) "distribution": [{"accessURL": "http://data.mcc.gov/example_resource/data.json", "format":"JSON", "size":"22mb"},{"accessURL":"http://data.mcc.gov/example_/data.xml", "format":"XML", "size":"24mb"}] <- there is example but not clear how to use
The "distribution" field is only a concatenation of the accessURL, format, and (optional) size fields. We discussed including it as a field up top, but were concerned it would seem like "another field" to agencies when in fact it's not asking for any additional information.
You must use the "distribution" field whether the entry has 1 associated dataset or 100.
Would love to see suggestions from folks on how to make this relationship clearer.
Activity
MarinaNitze commentedon May 16, 2013
The "distribution" field is only a concatenation of the accessURL, format, and (optional) size fields. We discussed including it as a field up top, but were concerned it would seem like "another field" to agencies when in fact it's not asking for any additional information.
You must use the "distribution" field whether the entry has 1 associated dataset or 100.
Would love to see suggestions from folks on how to make this relationship clearer.
MarinaNitze commentedon Aug 25, 2013
Clarified this in #44 -- provided a better example, and added distribution to the field list at the top too.