adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

DCAT-US writer: support accrualPeriodicity field #276

Open jwaspin opened 11 months ago

jwaspin commented 11 months ago

Support DCAT-US accrualPeriodicity field.

Conditionality: optional Namespace: dc: "http://purl.org/dc/terms/"

DCAT-US schema mapping accrualPeriodicity: "dc:accrualPeriodicity" (http://purl.org/dc/terms/accrualPeriodicity)

Description

The frequency with which dataset is published.

Usage notes

Must be an ISO 8601 repeating duration unless this is not possible because the accrual periodicity is completely irregular, in which case the value should simply be irregular. The value should not include a start or end date but rather simply express the duration of time between data publishing. For example, a dataset which is published on an annual basis would be R/P1Y; every three months would be R/P3M; weekly would be R/P1W; and daily would be R/P1D.

mdJSON mapping

ISO codelist MD_maintenanceFrequency can be used and several codes intersect with accrualPeriod codelist they are partially corresponding. A column of ISO8601 code equivalents could be added to MD_maintenanceFrequency to provide the coding expected https://resources.data.gov/schemas/dcat-us/v1.1/iso8601_guidance/#accrualperiodicity, community valuation should be determined.