datasets / publicbodies

A database of public bodies such as government departments, ministries etc.
http://publicbodies.org
MIT License
63 stars 26 forks source link

remove extra spaces (fix for #93) #94

Closed augusto-herrmann closed 6 years ago

augusto-herrmann commented 6 years ago

The data now does validate.

$ goodtables --schema public-body-schema.json data/ch.csv 
DATASET
=======
{'error-count': 0,
 'preset': 'nested',
 'table-count': 1,
 'time': 3.66,
 'valid': True}

TABLE [1]
=========
{'encoding': 'utf-8',
 'error-count': 0,
 'format': 'csv',
 'headers': ['id',
             'name',
             'abbreviation',
             'other_names',
             'description',
             'classification',
             'parent_id',
             'founding_date',
             'dissolution_date',
             'image',
             'url',
             'jurisdiction_code',
             'email',
             'address',
             'contact',
             'tags',
             'source_url'],
 'row-count': 2786,
 'schema': 'table-schema',
 'scheme': 'file',
 'source': 'data/ch.csv',
 'time': 3.658,
 'valid': True}