Skip to content
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

Integrate schema creator #278

Open
Floppy opened this issue Jan 6, 2017 · 2 comments
Open

Integrate schema creator #278

Floppy opened this issue Jan 6, 2017 · 2 comments

Comments

@Floppy
Copy link
Member

Floppy commented Jan 6, 2017

CSVlint might be a sensible place to allow people to create schemas. Once someone's uploaded a valid CSV, they could then get an interface to make a schema from it. @slowe created https://github.com/odileeds/JSONSchema, which does this, and @pezholio created a ruby gem based on it using the same algorithms in https://github.com/theodi/csv2schema.

@jamesjefferies
Copy link

Should this be an option on 'Adding a Dataset', i.e. a checkbox saying 'Generate my schema automatically' or an option from 'Edit dataset' or both?

Should we do this by default or not when a schema is added?

@pezholio
Copy link
Contributor

Also, it's worth looking at https://github.com/frictionlessdata/jsontableschema-rb which is slightly more fully-featured, but I'm not sure if the generated schemas are 100% CSVlint compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants