Created
November 28, 2015 13:42
-
-
Save stevage/9d5722713aaeea1e148b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// REQUIRED (DataPackage): a url-compatible short name ("slug") for the package | |
"name": "Victoria-ABS", | |
// REQUIRED (DataPackage): a human readable title for the package | |
"title": "Revenue, Expenses, Assets, Liabilities for Victoria (Australia) 2005-14", | |
"sources": [ { | |
"name": "ABS", | |
"web": "http://www.abs.gov.au/AUSSTATS/subscriber.nsf/log?openagent&55120do007_201314.xls&5512.0&Data%20Cubes&DFCB893803B13092CA257E4300116ABB&0&2013-14&13.05.2015&Latest" | |
}], | |
// RECOMMENDED (DataPackage): the license for the data in this package. | |
"license": "cc-by 3.0", | |
// RECOMMENDED: a valid 2-digit ISO country code (ISO 3166-1 alpha-2), or, an array of valid ISO codes (if this relates to multiple countries). This field is for listing the country of countries associated to this data. For example, if this the budget for country then you would put that country's ISO code. | |
"countryCode": "au", | |
// RECOMMENDED: the "profile set" for this package. If the `profiles` key is present, it MUST be set to the following hash: | |
"profiles": { | |
"fiscal": "*", | |
"tabular": "*" | |
}, | |
// OPTIONAL: a keyword that represents the type of spend data, being one of "aggregated" or "transactional". | |
"granularity": "aggregated", | |
// OPTIONAL: the fiscal period of the dataset | |
"fiscalPeriod": { | |
"start": "2004-06-30", | |
"end": "1983-04-21" | |
}, | |
// OPTIONAL: ...other properties... | |
// REQUIRED, see "Resources" | |
"resources": [ | |
{ | |
"path": "vic_abs_revenues.csv", | |
"schema": { | |
"fields": [ | |
{ | |
"name": "Category", | |
"type": "string", | |
}, | |
{ | |
"name": "2004-05", | |
"type": "integer" | |
}, | |
{ | |
"name": "2005-06", | |
"type": "integer" | |
}, | |
{ | |
"name": "2006-07", | |
"type": "integer" | |
}, | |
{ | |
"name": "2007-08", | |
"type": "integer" | |
}, | |
{ | |
"name": "2008-09", | |
"type": "integer" | |
}, | |
{ | |
"name": "2009-10", | |
"type": "integer" | |
}, | |
{ | |
"name": "2010-11", | |
"type": "integer" | |
}, | |
{ | |
"name": "2011-12", | |
"type": "integer" | |
}, | |
{ | |
"name": "2012-13", | |
"type": "integer" | |
}, | |
{ | |
"name": "2013-14", | |
"type": "integer" | |
} | |
] | |
} | |
} | |
], | |
// I got stuck here... | |
// REQUIRED, see "Mapping" | |
"mapping": { | |
// REQUIRED: array of measures in logical model | |
"measures": [ | |
{ | |
"name": | |
} | |
], | |
// REQUIRED: array of dimensions in logical model | |
"dimensions": [ | |
{ ... } // REQUIRED at least 1: see "Dimensions" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment