Skip to content

Attributes labels

Constance de Quatrebarbes requested to merge attributes_labels into master

If a timeseries observation TSV file contains an additional column (understood as a serie's attribute)

  • attributes_values_labels CAN be specified in the dataset.json in ordered to explicitly set the label corresponding to the code stored in the observation.tsv
  • attributes_labels CAN be specified in the dataset.json only if the series' attribute exists in order to explicitly set the value of the column name

dataset.json

{
    "attributes_labels": {
        "OBS_STATUS": "Observation Status",
    },
    "attributes_values_labels":{
        "OBS_STATUS": {
            "F": "Fixed",
            "P": "Provisionnal",
            "E": "Estimated"
        }
    }

which correspond to observations.tsv

PERIOD VALUE OBS_STATUS
2012 22,24 E
2013 20,78 
2014 17,05 F

Changelog

  • Updated data-model
  • Updated treesample
  • Updated cheat sheet
Edited by Constance de Quatrebarbes

Merge request reports