Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Mar 28, 2021
1 parent 3dd3bcb commit 0fc62ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ To install twarc and this plugin:

```
pip install twarc
pip install twarc-csv #todo
pip install twarc-csv
```

A new command will be available in twarc. First, flatten the data with:

```
twarc flatten input.json one_json_per_line.jsonl
twarc2 flatten input.json one_json_per_line.jsonl
```

Now you can conver to CSV

```
twarc csv one_json_per_line.jsonl output.csv
twarc2 csv one_json_per_line.jsonl output.csv
```

Currently, this expects 1 tweet json per line, that comes from the flatten command. In a later version it will auto detect what format of json you're giving it, and act appropriately.
Expand Down

0 comments on commit 0fc62ff

Please sign in to comment.