tdwg / dwc-qa

Public question and answer site for discussions about Darwin Core
Apache License 2.0
49 stars 8 forks source link

Is there a location for a plain list of dwc terms? #193

Open RobLBaker opened 1 year ago

RobLBaker commented 1 year ago

I would like to be able to programmatically check datasets for darwin core naming conventions. To do so, it would be handy to have a simple yet comprehenisve list of darwin core terms. So far best I've been able to find is:

https://github.com/tdwg/dwc/blob/master/dist/simple_dwc_vertical.csv

However, this list is missing 2 of the 9 classes ("mearurementOrFact" and "resourceRelationship"), resulting in something like 17 terms missing (things like measurementID, measurementType, measurementUnit, measurementRemarks, resourceRelationshipID, etc).

Is there a comprehensive list of Darwin Core Terms that I can just import without doing a bunch of complicated webscraping?

peterdesmet commented 1 year ago

I'm currently not aware of such a list, but it is an understandable feature request. I've added it as a suggestion at https://github.com/tdwg/dwc/issues/418.

Note: the simple_dwc_vertical list you point to is missing the measurementOfFact and resourceRelationship terms by design, as those classes are not part of Simple Darwin Core.