Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

codeforsanjose/CSV-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages