Vanuatu-National-Statistics-Office / vnso-nsdp-platform

MIT License
0 stars 4 forks source link

Meta-data #263

Open hugo-e-pigott opened 3 years ago

hugo-e-pigott commented 3 years ago

In regards to the meta-data, I want to remove all the fields and learn how to create it from scratch. Starting with giving the fields new names. The fields we want are below, but also maybe later we will want to change again so better to understand how to completely change it, if possible.

brockfanning commented 3 years ago

@hugo-e-pigott @jah-ky @jyaruel The allowed metadata fields are controlled in this file: https://github.com/Vanuatu-National-Statistics-Office/vnso-nsdp-platform/blob/develop/metadata-schema.yml

From what I can see, all of the fields you listed are already in that field, though some of them are labeled differently (eg, "Data source" instead of "Source").

A few notes about editing that file:

  1. It uses the same YAML syntax as other configuration files in Open SDG, in which it is important to be precise with the indentation.
  2. For your purposes, the "scope" of each item should be "national".
  3. The "reporting_status" field is important, so don't remove that one. Everything else is optional.
  4. The "translation_key" is what determines the human-readable label for the field. Since your site is mono-lingual now, you don't have to use a translation key - instead you can just put in the human-readable (English) label.
hugo-e-pigott commented 3 years ago

Thank you, understanding how to change the meta-data is there.

Final question: we would like to change the information below that is above all meta-data

"This table provides metadata for the actual indicator available from Vanuatu statistics closest to the corresponding global SDG indicator. Please note that even when the global SDG indicator is fully available from Vanuatuan statistics, this table should be consulted for information on national methodology and other Vanuatu-specific metadata information."

How do we change this?