Skip to content

Instantly share code, notes, and snippets.

@jbothma
Created January 31, 2018 09:31
Show Gist options
  • Select an option

  • Save jbothma/a5b06ff40f7783c03a55a55a7fbcc61c to your computer and use it in GitHub Desktop.

Select an option

Save jbothma/a5b06ff40f7783c03a55a55a7fbcc61c to your computer and use it in GitHub Desktop.
title: Estimates of National Expenditure of South Africa 2017-18-testy
dataset-name: estimates-of-national-expenditure-south-africa-2017-18-testy
resource-name: estimates-of-national-expenditure-south-africa-2017-18-testy
sources:
- url: "dupe-test.csv"
headers: 1
name: ene-2017-18
cache: True
fields:
# Administrative Classification
- header: vote_number
aliases:
- Vote No.
title: Vote Number
options: {}
osType: administrative-classification:generic:level1:code
- header: department
aliases:
- Department
title: Department
options: {}
osType: administrative-classification:generic:level1:label
# Activity
- header: programme_number
aliases:
- Programme No.
title: Programme Number
options: {}
osType: activity:generic:program:code
- header: programme
aliases:
- Programme
options: {}
osType: activity:generic:program:label
- header: subprogramme_number
aliases:
- Subprogramme No.
title: Subprogramme Number
options: {}
osType: activity:generic:project:code:part
- header: subprogramme
aliases:
- Subprogramme
title: Subprogramme
options: {}
osType: activity:generic:project:label
# Economic Classification
- header: economic_classification_1
title: Economic Classification Level 1
aliases:
- Economic Level 1
options: {}
osType: economic-classification:generic:level1:code
- header: economic_classification_2
title: Economic Classification Level 2
aliases:
- Economic Level 2
options: {}
osType: economic-classification:generic:level2:code:part
- header: economic_classification_3
title: Economic Classification Level 3
aliases:
- Economic Level 3
options: {}
osType: economic-classification:generic:level3:code:part
- header: economic_classification_4
title: Economic Classification Level 4
aliases:
- Economic Level 4
options: {}
osType: economic-classification:generic:level4:code:part
# Functional Classification
- header: government_function
title: Government Function
aliases:
- Function group
options: {}
osType: functional-classification:generic:level1:code
# Date
- header: financial_year
title: Financial Year
options: {}
osType: date:fiscal-year
# Phase
- header: budget_phase
title: Budget Phase
options: {}
osType: phase:id
measures:
currency: ZAR
title: Amount
mapping:
"2017/18 Original Budget":
budget_phase: "Original Budget"
financial_year: "2017"
deduplicate: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment