DevToys
DevToys copied to clipboard
CSV Query
What's the Problem?
Working with CSV files is easy and fast, but bulk manipulations or more in depth queries can be tricky. Mostly I am using notepad++ with CsvQuery extension since it is way faster than Excel/Calc.
Solution/Idea
- Load a CSV file.
- Set optional read params, e.g. seperator.
- Write SQL statements against CSV file.
- Export to another CSV file.
Alternatives
Priorities
Capability | Priority |
---|---|
This proposal will allow developers to set custom read param | Should |
This proposal will allow end users to query a CSV with SQL | Must |
This proposal will allow end users to export query result to CSV again | Must |
DevToys Version
No response
Comments
No response
Screenshot of how this looks like with notepad++ and CsvQuery extension.
A feature like this would definitely be really great!
Just as a general thought, this may be a more extensive feature to implement than some of the others since we have to write a way to query the data dynamically, since we don't have the model until we load the CSV and then have to allow folks to query on it (should use ANSI SQL).
I wonder if you could fork and adapt CsvQuery to work within DevToys.
Alternately, we could reference the SQLite nuget package and build on that (having SQLite in the DevToys ecosystem may also be useful for future tools)
I second this!