The validate_columns function was developed in response to Code for San Jose's CSV-Validator project. The issue was that files to be uploaded should be verified as valid for CKAN. The function is passed a string argument which is the path/filename to the file to validate as CKAN ready. It raises CkanError exceptions: DuplicateColumnError in the event that one or more column name is duplicated, ColumnMismatchError in the event that not all rows in the file have the same number of columns, and NoDataError if the file contains only a single column or row.
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
codeforsanjose/CSV-Validator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published