... | ... | @@ -15,28 +15,30 @@ Let's consider the following data, in a TSV file: |
|
|
Belguim BE Import I 2010 33290
|
|
|
Belguim BE Import I 2011 36002
|
|
|
Belguim BE Import I 2012 39332
|
|
|
Italy IT Import I 2009 78992
|
|
|
Italy IT Import I 2010 77300
|
|
|
Italy IT Import I 2009 ...
|
|
|
Italy IT Import I 2010 ...
|
|
|
Italy IT Import I 2011 77266
|
|
|
Italy IT Import I 2012 89022
|
|
|
France FR Export E 2010 23982
|
|
|
France FR Export E 2011 23777
|
|
|
France FR Export E 2012 24000
|
|
|
Belguim BE Export E 2010 13922
|
|
|
Belguim BE Export E 2010 ...
|
|
|
Belguim BE Export E 2011 13277
|
|
|
Belguim BE Export E 2012 14002
|
|
|
Italy IT Export E 2009 56299
|
|
|
Italy IT Export E 2010 57200
|
|
|
Italy IT Export E 2009 ...
|
|
|
Italy IT Export E 2010 ...
|
|
|
Italy IT Export E 2011 59288
|
|
|
Italy IT Export E 2012 61300
|
|
|
|
|
|
Note: some values are unknown for Italy; ie the provider do not know the values. In this dataset, those unknown values are represented by this string: "..."
|
|
|
|
|
|
This dataset contains only 2 dimensions:
|
|
|
* Country
|
|
|
* Flow
|
|
|
|
|
|
Fixing values for those dimensions make possible to extract a `series`. For example, the series corresponding to Country = 'Belgium' and Flow = 'Export' is:
|
|
|
|
|
|
2010 13922
|
|
|
2010 ...
|
|
|
2011 13277
|
|
|
2012 14002
|
|
|
|
... | ... | @@ -89,13 +91,15 @@ The `series.json` file for Country = 'Belgium' and Flow = 'Export' should be: |
|
|
},
|
|
|
"frequency": "A",
|
|
|
"key": "ITA.1.0.0.0.ZNAWRU",
|
|
|
"name": "Belgium exports"
|
|
|
"name": "Belgium exports",
|
|
|
"unknown_value": "..."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Notes:
|
|
|
* "dimensions" is a dict of `dimension_code`: `dimension_value_code`, its aim is to give the list of **values** of dimensions for this series
|
|
|
* the series *directory name* havn't to be equal to the series *key*
|
|
|
* the `unknown_value` key gives the representation of unknown values in this series
|
|
|
|
|
|
## observations.tsv
|
|
|
|
... | ... | @@ -103,7 +107,7 @@ The `observations.tsv` file for this series should be: |
|
|
|
|
|
```tsv
|
|
|
YEAR EUR
|
|
|
2010 13922
|
|
|
2010 ...
|
|
|
2011 13277
|
|
|
2012 14002
|
|
|
```
|
... | ... | |