Suggestion to use [Goodtables.io](http://goodtables.io/). See example of [datasets-br/state-codes](https://github.com/datasets-br/state-codes), that [is using](https://goodtables.io/github/datasets-br/state-codes). You can run offline by [goodtables-py#cli](https://github.com/frictionlessdata/goodtables-py#cli).