Permalink
Browse files

Added TSV example to the README

  • Loading branch information...
simonw committed Nov 26, 2017
1 parent 5ee8fd5 commit 957d4f58935487104ebc155da305d00f42005595
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -27,6 +27,13 @@ search those directories for CSV files and create tables for each one.
csvs-to-sqlite ~/path/to/directory all-my-csvs.db
## Handling TSV (tab-separated values)
You can use the `-s` option to specify a different delimiter. If you want
to use a tab character you'll need to apply shell escaping like so:
csvs-to-sqlite my-file.tsv my-file.db -s $'\t'
## Refactoring columns into separate lookup tables
Let's say you have a CSV file that looks like this:

0 comments on commit 957d4f5

Please sign in to comment.