Skip to content

Modifying Indicator Page

Linda Mejia edited this page Nov 13, 2019 · 8 revisions

Change National Metadata label to 'Local Metadata'

For now, local implementation doesn't need to support multiple languages, so you can just put the text "Local Metadata" directly in the _config.yml file , like so: non_global_metadata: Local Metadata
local metadata

Leveraging National Metadata fields

The first step would be to add the fields to the _prose.yml file in the data repo. The syntax is a little quirky and the indentation is important, but you can copy-paste from an entry to create something new.

Once it has been added to this "schema", you can start using the new field in actual metadata.

Setting up a page with non-statistical data

  1. data_non_statistical in the metadata must be set to true (this prevents the graph from displaying)
  2. Any amount of arbitrary text can appear after the --- at the bottom.