Re:Show HN: Datasette – Create and publish an API for SQLite...
by stdbrouw on Tuesday November 14, 2017 @03:46AM
(#15693624)
I'm absolutely, unequivocally not trying to be snarky, but isn't CSV itself perfect for this use-case?
[ Parent
| on HN ]
Re:Show HN: Datasette – Create and publish an API for SQLite...
by simonw on Tuesday November 14, 2017 @10:04AM
(#15695577)
CSV is a pretty terrible format for storing and transmitting data: it only supports string types, the escaping rules are poorly understood, and it can only model a single flat table.
Re:Show HN: Datasette – Create and publish an API for SQLite...
by _wmd on Tuesday November 14, 2017 @04:46AM
(#15693816)
CSV files have a single order and no support for indexes. Even if you sort your CSV on one or more interesting columns and use binary search to locate an interesting range, you can still only do this along a single dimension, any remaining queries must scan the entire file. You'd also have to write all the code for this yourself. SQLite is a much better solution
Re:Show HN: Datasette – Create and publish an API for SQLite...
by lukechilds on Tuesday November 14, 2017 @03:55AM
(#15693660)
Only if you want the entire dataset. Datasette allows you to query for a subset of data.