gbif / parsers

Various GBIF parsers for dates, countries, language, taxon ranks, etc
Apache License 2.0
4 stars 8 forks source link

Adds new parsers: LicenseParser and MaintenanceUpdateFrequencyParser #4

Closed kbraak closed 8 years ago

kbraak commented 8 years ago

This pull request uses the branch having the API pull request as a dependency. Note the latest API pull request adds two new enums: License and MaintenanceUpdateFrequency.

Corresponding to these two new enums, this pull request adds two new parsers: LicenseParser and MaintenanceUpdateFrequencyParser

Note that machine readable licenses can supply a license in two parts: URI and title. The LicenseParser is designed to be flexible and lookup the license using the title in cases when the URI is missing.

A review of these two new parsers would be much appreciated @cgendreau and @mdoering - thanks