WTO: Write categories in JSON repo

Child of #2 (closed)

Story

  • As an economist,
  • I want to navigate in the categories tree of WTO,
  • In order to find a dataset from this provider.

Acceptance criteria

provider.json

  • At the root of the JSON repository of the provider, provider.json MUST exist.
  • provider.json MUST contain a categories property.
  • The categories property of provider.json MUST have a value which is a list of strings each being the name of a directory at the same level of provider.json.
  • Each category MUST have a name in accordance with the data tree section of the fetcher description (see below).

category.json

  • In each category directory, category.json MUST exist
  • category.json MUST contain a categories property IF the current category has child categories.
  • category.json MUST contain a name property which value is the current directory name.
  • category.json MUST contain a category_code property which value is given in the data tree section of the fetcher description (see below).

Resources

Fetcher description.

Data tree

  • category: code: annual, name: Annual trade data
    • dataset: code: a1, name: WTO-UNCTAD-ITC annual trade in services dataset
    • dataset: code: a2, name: WTO merchandise trade values annual dataset
    • dataset: code: a3, name: WTO merchandise trade indices annual dataset
  • category: code: quater, name: Quaterly trade data
    • dataset: code: q1, name: Quarterly merchandise trade value
    • dataset: code: q2, name: Quarterly, name: merchandise trade volume
    • dataset: code: q3: name: Quarterly trade in commercial services value
  • category: code: month, name: Monthly trade data
    • dataset: code: m1, name: Monthly merchandise trade value
    • dataset: code: m2, name: Monthly trade in commercial services value
    • dataset: code: m3, name: Monthly changes in export and import price of manufactured goods
Edited Oct 09, 2017 by Bruno Duyé
Assignee Loading
Time tracking Loading