{ "title": "United States of America education budget analysis", "name": "usa-education-budget-analysis", "sources":[ { "title": "Office of Management and Budget, President’s Budget from white house official website", "path": "https://www.whitehouse.gov/sites/whitehouse.gov/files/omb/budget/fy2018/hist05z2.xls" }, { "title": "Country, Regional and World GDP (Gross Domestic Product), DataHub", "path": "http://datahub.io/core/gdp/r/gdp.csv " } ], "licenses": [ { "name": "odc-pddl", "title": "Open Data Commons Public Domain Dedication and Licence (PDDL)", "path": "http://opendatacommons.org/licenses/pddl/" } ], "resources": [ { "profile": "tabular-data-resource", "name": "data", "format": "csv", "encoding": "utf-8", "mediatype": "text/csv", "path": "data/data.csv", "schema": { "fields": [ { "name": "YEAR", "type": "year", "description": "Date in the form of %Y" }, { "name": "BUDGET_ON_EDUCATION", "type": "number", "description": "in millions of dollars" }, { "name": "GDP", "type": "number", "description": "in millions of dollars" }, { "name": "RATIO", "type": "number", "description": "education expenditure / GDP in percentage" } ] } }, { "profile": "tabular-data-resource", "name": "budget", "format": "csv", "encoding": "utf-8", "mediatype": "text/csv", "path": "data/budget.csv", "schema": { "fields": [ { "name": "Name", "type": "string", "description": "Department or other unit" }, { "name": "Year", "type": "year", "description": "Date in the form of %Y" }, { "name": "Value", "type": "string", "description": "in millions of dollars" } ] } } ], "views": [ { "name": "total-budget-usa-on-education", "title": "Total budget USA on Education", "resources": [ { "name": "budget", "transform": [ { "type": "filter", "expression": "data['Name'] === 'Department of Education'" } ] } ], "specType": "simple", "spec": { "type": "bar", "group": "Year", "series": [ "Value" ] } }, { "name": "usa-education-budget-to-gdp", "title": "USA education budget to gdp", "resources": ["data"], "specType": "simple", "spec": { "type": "bar", "group": "YEAR", "series": ["RATIO"] } }, { "name": "total-budget-usa", "title": "Total budget in USA", "resources": [ { "name": "budget", "transform": [ { "type": "filter", "expression": "data['Name'] === 'Total budget authority'" } ] } ], "specType": "simple", "spec": { "type": "line", "group": "Year", "series": [ "Value" ] } } ] }