Skip to content

Commit

Permalink
Add high-value dataset category field
Browse files Browse the repository at this point in the history
This commit adds a new field called "hvd_category" (https://semiceu.github.io/DCAT-AP/releases/2.2.0-hvd/) to the geodcatap_dataset.yaml and geodcatap_es_dataset.yaml schemas. The field is a select type and allows users to categorize datasets as high-value datasets. It provides a list of predefined choices, including categories such as Meteorological, Companies and company ownership, Geospatial, Mobility, Earth observation and environment, and Statistics.  This addition enhances the functionality of the extension by allowing users to easily classify datasets into high-value categories.
  • Loading branch information
mjanez committed May 16, 2024
1 parent 1ccaa19 commit cf42f5b
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
39 changes: 39 additions & 0 deletions ckanext/schemingdcat/schemas/geodcatap/geodcatap_dataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,45 @@ dataset_fields:
es: Ej. Identificador único de recurso (UUID).
help_allow_html: True

# High-value dataset category (R)
- field_name: hvd_category
label:
en: High-value dataset category
es: Categoría del conjunto de alto valor (HVD)
preset: select
display_property: dcatap:hvdCategory
display_snippet: schemingdcat/display_snippets/link_schema.html
help_text:
en: 'More info: <a href="http://data.europa.eu/bna/c_a9135398" target="_blank" rel="noopener">High-value datasets - Overview</a>, <a href="http://data.europa.eu/bna/asd487ae75" target="_blank" rel="noopener">Vocab - EU Publications</a> and <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=PI_COM:C(2022)9562" target="_blank" rel="noopener">Implementing Act</a> (European Commission)'
es: 'Referencias: <a href="http://data.europa.eu/bna/c_a9135398" target="_blank" rel="noopener">Conjuntos de alto valor - Visión generale</a>, <a href="http://data.europa.eu/bna/asd487ae75" target="_blank" rel="noopener">Vocabulario - EU Publications</a> y <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=PI_COM:C(2022)9562" target="_blank" rel="noopener">Reglamento de Implementación</a> (Comisión Europea)'
help_allow_html: True
sorted_choices: True
choices:
- label:
en: Meteorological
es: Meteorología
value: http://data.europa.eu/bna/c_164e0bf5
- label:
en: Companies and company ownership
es: Sociedades y propiedad de sociedades
value: http://data.europa.eu/bna/c_a9135398
- label:
en: Geospatial
es: Geospacial
value: http://data.europa.eu/bna/c_ac64a52d
- label:
en: Mobility
es: Movilidad
value: http://data.europa.eu/bna/c_b79e35eb
- label:
en: Earth observation and environment
es: Observación de la Tierra y medio ambiente
value: http://data.europa.eu/bna/c_dd313021
- label:
en: Statistics
es: Estadística
value: http://data.europa.eu/bna/c_e1da4e07

# Metadata file language (M)
- field_name: language
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,45 @@ dataset_fields:
es: Ej. Identificador único de recurso (UUID).
help_allow_html: True

# High-value dataset category (R)
- field_name: hvd_category
label:
en: High-value dataset category
es: Categoría del conjunto de alto valor (HVD)
preset: select
display_property: dcatap:hvdCategory
display_snippet: schemingdcat/display_snippets/link_schema.html
help_text:
en: 'More info: <a href="http://data.europa.eu/bna/c_a9135398" target="_blank" rel="noopener">High-value datasets - Overview</a>, <a href="http://data.europa.eu/bna/asd487ae75" target="_blank" rel="noopener">Vocab - EU Publications</a> and <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=PI_COM:C(2022)9562" target="_blank" rel="noopener">Implementing Act</a> (European Commission)'
es: 'Referencias: <a href="http://data.europa.eu/bna/c_a9135398" target="_blank" rel="noopener">Conjuntos de alto valor - Visión generale</a>, <a href="http://data.europa.eu/bna/asd487ae75" target="_blank" rel="noopener">Vocabulario - EU Publications</a> y <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=PI_COM:C(2022)9562" target="_blank" rel="noopener">Reglamento de Implementación</a> (Comisión Europea)'
help_allow_html: True
sorted_choices: True
choices:
- label:
en: Meteorological
es: Meteorología
value: http://data.europa.eu/bna/c_164e0bf5
- label:
en: Companies and company ownership
es: Sociedades y propiedad de sociedades
value: http://data.europa.eu/bna/c_a9135398
- label:
en: Geospatial
es: Geospacial
value: http://data.europa.eu/bna/c_ac64a52d
- label:
en: Mobility
es: Movilidad
value: http://data.europa.eu/bna/c_b79e35eb
- label:
en: Earth observation and environment
es: Observación de la Tierra y medio ambiente
value: http://data.europa.eu/bna/c_dd313021
- label:
en: Statistics
es: Estadística
value: http://data.europa.eu/bna/c_e1da4e07

# Metadata file language (M)
- field_name: language
label:
Expand Down

0 comments on commit cf42f5b

Please sign in to comment.