Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update original #1

Merged
merged 137 commits into from Mar 29, 2015
Merged

Update original #1

merged 137 commits into from Mar 29, 2015

Conversation

jeroenjanssens
Copy link
Owner

No description provided.

smnorris and others added 28 commits October 28, 2014 11:25
removed  [-j JOIN] option from usage, not sure it is valid - this is my usage output:

```
$ pip show csvkit
---
Name: csvkit
Version: 0.9.0
Location: /usr/local/lib/python2.7/site-packages
Requires: xlrd, sqlalchemy, openpyxl, six, python-dateutil, dbf
$ csvjoin
usage: csvjoin [-h] [-d DELIMITER] [-t] [-q QUOTECHAR] [-u {0,1,2,3}] [-b]
               [-p ESCAPECHAR] [-z MAXFIELDSIZE] [-e ENCODING] [-S] [-v] [-l]
               [--zero] [-c COLUMNS] [--outer] [--left] [--right]
               [FILE [FILE ...]]
csvjoin: error: You must specify at least two files to join.
```
This is to address issue #355 and to allow json to be 'streamed' - that
is, each object in the array be written out separated by a newline, rather
than output as one single array. Allowing this means we can convert
large csv streams to json without waiting until the end to see the
output. Many json-processing tools can deal with streaming json (for
instance jq).
Streaming doesn't make sense for when data is being output as one json
object - that is if you specify a key column or lat/lon options.

If you try and specify --stream and also --key or --lat/--lon then you
will get an error.
(PS: Great tool, thanks!)
A few changes to Lesson 3
jeroenjanssens added a commit that referenced this pull request Mar 29, 2015
@jeroenjanssens jeroenjanssens merged commit 568f7df into jeroenjanssens:master Mar 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet