XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
1–10 of 29 posts
Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#2For example being able to define data types for each column and say required columns. And then run your tool as a validator and take the errors as an array that’d be amazing!
Coming from a dev who’s just over processing CSV files back into my apps.
Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#3Something that would be insanely useful is if your tool could be users to do validations. For example being able to define data types for each column and say required columns. And then run your tool as a validator and take the errors as an array that’d be amazing! Coming from a dev who’s just over processing CSV files back into my apps.
Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#4There are a lot of tools that one can use on Linux cli to work with csv. But many of them have become unmaintained. Or have terrible docs. Or have really awkward usage (looking at you, “yq”).
Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#5Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#6Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#7Something that would be insanely useful is if your tool could be users to do validations. For example being able to define data types for each column and say required columns. And then run your tool as a validator and take the errors as an array that’d be amazing! Coming from a dev who’s just over processing CSV files back into my apps.
Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#8 clickhouse local --file medias.csv --query "SELECT edito, count() AS count from table group by all order by count FORMAT PrettyCompact"
┌─edito──────┬─count─┐
│ agence │ 1 │
│ agrégateur │ 10 │
│ plateforme │ 14 │
│ individu │ 30 │
│ media │ 423 │
└────────────┴───────┘
With clickhouse-local, I can do lot more as I can leverage full power of clickhouse.Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#9Re: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal
#10I prefer to use clickhouse-local for all my CSV needs as I don't need to learn a new language (or cli flags) and can just leverage SQL. clickhouse local --file medias.csv --query "SELECT edito, count() AS count from table group by all order by count FORMAT PrettyCompact" ┌─edito──────┬─count─┐ │ agence │ 1 │ │ agrégateur │ 10 │ │ plateforme │ 14 │ │ individu │ 30 │ │ media │ 423 │ └────────────┴───────┘ With clickhou…