Skip to content

csvclean: Provide machine-readable output #1290

@hseg

Description

@hseg

Trying to solve #962 automatically, but csvclean emits its output in an inconvenient format. Would it be possible to have it emit its output in a programmatically-readable format?
Eg have csvclean --machine-readable emit a table in the format

rule,affected_lines,fix_parameters

so that I could just csvcut $(csvclean --machine-readable | csvsql 'select fix_parameters...')
Alternatively, just give csvclean an --autoclean command that executes the cleaning routines it suggests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions