|
|
Line 4: |
Line 4: |
| All data included in the databases has be documented! | | All data included in the databases has be documented! |
| | | |
| + | All abreviations have to be documentated in the Glossary! |
| | | |
| == Naming of data == | | == Naming of data == |
Line 48: |
Line 49: |
| Example: ''zensus_population_by_gender_per_mun'' | | Example: ''zensus_population_by_gender_per_mun'' |
| | | |
− | <br/>All abreviations have to be documentated (in the)! | + | |
| + | |
| + | {"Name": "Wirtschaftsdaten pro Region",<br/> <br/>"Source": ["Regionaldatenbank Deutschland", "www.regionalstatistik.de / registation required"], |
| + | |
| + | "Reference date": ["2013"] |
| + | |
| + | "Retrieved": ["04.06.2014"], |
| + | |
| + | "Date of collection": ["01.08.2013"], |
| + | |
| + | "Original file": ["346-22-5.xls"], |
| + | |
| + | "Spatial resolution": ["Germany"], |
| + | |
| + | "Description": ["Financial key figures of German municipalities (annual totals)", "Regional level: municipalities, association of municipalities"], |
| + | |
| + | "Table fields":<br/># Als Dict:<br/>[<br/>{"name":"region_id",<br/>"description":"",<br/>"description_german":"",<br/>"unit":"" }, |
| + | |
| + | {"name":"year",<br/>"description":"",<br/>"description_german":"",<br/>"unit":"" }, |
| + | |
| + | {"name":"gross_expenditure_municipality_total",<br/>"description":"",<br/>"description_german":"",<br/>"unit":"EUR" }<br/>], |
| + | |
| + | # Als Liste:<br/>{<br/> "region_id" : ["Based on the German Regionalschluessel"],<br/> "name":[],<br/> "year":[],<br/> "gross_expenditure_municipality_total" : ["EUR"],<br/> "expenses_administrative_budget_total" : ["EUR"],<br/> "expenses_administrative_budget_personnel" : ["EUR"],<br/> "expenses_administrative_budget_other_administrative" : ["EUR", "Includes foo"],<br/> "expenditures_financial_budget_total" : ["EUR"],<br/> "expenditures_financial_budget_repayment_loans" : ["EUR"],<br/> "expenditures_financial_budget_property_investment" : ["EUR","Includes bar"],<br/> "net_expenditure_municipality_total" : "EUR" }, |
| + | |
| + | "Changes":[<br/> { "name":"Wolf-Dieter Bunke",<br/> "mail":"wd.bunke@gmail.com",<br/> "date":"16.06.2014",<br/> "comment":"Created table" }, |
| + | |
| + | { "name":"Cord Kaldemeyer",<br/> "mail":"cord.kaldemeyer@fh-flensburg.de",<br/> "date":"17.07.2014",<br/> "comment":"Translated field names"}], |
| + | |
| + | "ToDo": ["Some datasets are odd -> Check numbers against another data"], |
| + | |
| + | "Licence": ["Datenlizenz Deutschland – Namensnennung – Version 2.0 (dl-de/by-2-0; http://www.govdata.de/dl-de/by-2-0)"], |
| + | |
| + | "Instructions for proper use": ["Always state licence"]} |
Revision as of 10:03, 25 May 2016
Data documentation
All data included in the databases has be documented!
All abreviations have to be documentated in the Glossary!
Naming of data
Database Name
The name of the database is oedb
Database Schema
The structure of the database is realised via the naming of the schema!
- always lower case
- no points, no commas
- no spaces
- no dates
- use underscores
- name starts with type of schema
- orig for original data
- calc for processed data
- name includes distinct subject area or source
Example: orig_vg250
Database Table
- always lower case
- no points, no commas
- no spaces
- no dates
- use underscores
- name starts with the source (e.g. zensus)
- main value (e.g. population)
- if separated by [attribute] (e.g. by_gender)
- with resolution [tupel] (e.g. per_mun)
Example: zensus_population_by_gender_per_mun
{"Name": "Wirtschaftsdaten pro Region",
"Source": ["Regionaldatenbank Deutschland", "www.regionalstatistik.de / registation required"],
"Reference date": ["2013"]
"Retrieved": ["04.06.2014"],
"Date of collection": ["01.08.2013"],
"Original file": ["346-22-5.xls"],
"Spatial resolution": ["Germany"],
"Description": ["Financial key figures of German municipalities (annual totals)", "Regional level: municipalities, association of municipalities"],
"Table fields":
# Als Dict:
[
{"name":"region_id",
"description":"",
"description_german":"",
"unit":"" },
{"name":"year",
"description":"",
"description_german":"",
"unit":"" },
{"name":"gross_expenditure_municipality_total",
"description":"",
"description_german":"",
"unit":"EUR" }
],
- Als Liste:
{
"region_id" : ["Based on the German Regionalschluessel"],
"name":[],
"year":[],
"gross_expenditure_municipality_total" : ["EUR"],
"expenses_administrative_budget_total" : ["EUR"],
"expenses_administrative_budget_personnel" : ["EUR"],
"expenses_administrative_budget_other_administrative" : ["EUR", "Includes foo"],
"expenditures_financial_budget_total" : ["EUR"],
"expenditures_financial_budget_repayment_loans" : ["EUR"],
"expenditures_financial_budget_property_investment" : ["EUR","Includes bar"],
"net_expenditure_municipality_total" : "EUR" },
"Changes":[
{ "name":"Wolf-Dieter Bunke",
"mail":"wd.bunke@gmail.com",
"date":"16.06.2014",
"comment":"Created table" },
{ "name":"Cord Kaldemeyer",
"mail":"cord.kaldemeyer@fh-flensburg.de",
"date":"17.07.2014",
"comment":"Translated field names"}],
"ToDo": ["Some datasets are odd -> Check numbers against another data"],
"Licence": ["Datenlizenz Deutschland – Namensnennung – Version 2.0 (dl-de/by-2-0; http://www.govdata.de/dl-de/by-2-0)"],
"Instructions for proper use": ["Always state licence"]}