-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading gdp datapackage results in ValueError: Cannot cast u'1968' for <Year> #145
Comments
Importing country-list datapackage worked just fine. |
Fak3
changed the title
Importing core\gdp results in ValueError: Cannot cast u'1968' for <Year>
Reading core\gdp datapackage results in ValueError: Cannot cast u'1968' for <Year>
Jan 12, 2017
Same error with
|
Same error on python3 |
rufuspollock
changed the title
Reading core\gdp datapackage results in ValueError: Cannot cast u'1968' for <Year>
Reading gdp datapackage results in ValueError: Cannot cast u'1968' for <Year>
Jan 13, 2017
Is this format according to spec?
|
$ goodtables datapackage http://data.okfn.org/data/core/gdp/datapackage.json
DATASET
=======
{'error-count': 999, 'table-count': 1, 'time': 2.588, 'valid': False}
TABLE [1]
=========
{'datapackage': 'http://data.okfn.org/data/core/gdp/datapackage.json',
'error-count': 999,
'headers': ['Country Name', 'Country Code', 'Year', 'Value'],
'row-count': 1000,
'source': 'https://raw.githubusercontent.com/datasets/gdp/master/data/gdp.csv',
'time': 1.948,
'valid': False}
---------
[2,3] [non-castable-value] Row 2 has non castable value in column 3 (type: date, format: yyyy)
[3,3] [non-castable-value] Row 3 has non castable value in column 3 (type: date, format: yyyy)
... |
Looks like invalid datapackage in reference to spec. |
Should the bug be moved to https://github.com/datasets/gdp repo? |
MOVED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just tried to use jsontableschema-pandas, and got an error from jsontableschema:
The text was updated successfully, but these errors were encountered: